summaryrefslogtreecommitdiffstats
path: root/Source/cmSystemTools.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'Source/cmSystemTools.cxx')
-rw-r--r--Source/cmSystemTools.cxx3
1 files changed, 2 insertions, 1 deletions
diff --git a/Source/cmSystemTools.cxx b/Source/cmSystemTools.cxx
index a94f223..9f0ea3d 100644
--- a/Source/cmSystemTools.cxx
+++ b/Source/cmSystemTools.cxx
@@ -238,7 +238,7 @@ void cmSystemTools::Stdout(const char* s)
else
{
std::cout << s;
- std::cout << std::flush;
+ std::cout.flush();
}
}
@@ -251,6 +251,7 @@ void cmSystemTools::Stdout(const char* s, int length)
else
{
std::cout.write(s, length);
+ std::cout.flush();
}
}