mirror of
https://github.com/ultimatepp/ultimatepp.git
synced 2026-09-05 17:44:55 -06:00
Core: Cout::Flush for POSIX now calls fflush (RM #138)
git-svn-id: svn://ultimatepp.org/upp/trunk@4120 f0d560ea-af0d-0410-9eb7-867de7ffcac7
This commit is contained in:
parent
3383cff232
commit
8f8ba89d84
1 changed files with 3 additions and 0 deletions
|
|
@ -1192,6 +1192,9 @@ class CoutStream : public Stream {
|
|||
Put0(w);
|
||||
}
|
||||
virtual bool IsOpen() const { return true; }
|
||||
#ifdef PLATFORM_POSIX
|
||||
virtual void Flush() { fflush(stdout); }
|
||||
#endif
|
||||
};
|
||||
|
||||
Stream& Cout()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue