BUG: ::Stdout method should flush cout after writing data.
This commit is contained in:
parent
802cc38344
commit
f86424414f
|
@ -238,7 +238,7 @@ void cmSystemTools::Stdout(const char* s)
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
std::cout << s;
|
std::cout << s;
|
||||||
std::cout << std::flush;
|
std::cout.flush();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -251,6 +251,7 @@ void cmSystemTools::Stdout(const char* s, int length)
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
std::cout.write(s, length);
|
std::cout.write(s, length);
|
||||||
|
std::cout.flush();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue