strings: simplify streaming sequences

This commit is contained in:
Ben Boeckel
2023-07-27 14:57:48 -04:00
parent a5ba00bdf8
commit 2409f62d18
3 changed files with 11 additions and 13 deletions
+2 -2
View File
@@ -286,8 +286,8 @@ void cmGlobalVisualStudioGenerator::ConfigureCMakeVisualStudioMacros()
if (!cmSystemTools::FileTimeCompare(src, dst, &res) || res > 0) {
if (!cmSystemTools::CopyFileAlways(src, dst)) {
std::ostringstream oss;
oss << "Could not copy from: " << src << std::endl;
oss << " to: " << dst << std::endl;
oss << "Could not copy from: " << src << std::endl
<< " to: " << dst << std::endl;
cmSystemTools::Message(oss.str(), "Warning");
}
}