FIFOBufferStream (g++ pacify)

This commit is contained in:
Aleksandar Fabijanic
2012-06-08 02:24:36 +00:00
parent cfbcce0481
commit 69bd6f6ee9
6 changed files with 17 additions and 14 deletions

View File

@@ -168,7 +168,9 @@ void FIFOBufferStreamTest::testNotify()
assert (1 == _notToReadable);
assert (1 == _writableToNot);
assert (1 == _notToWritable);
iostr.clear();
assert (iostr.good());
iostr << "This is a test " << 42 << std::ends << std::flush;
assert (iostr.rdbuf()->fifoBuffer().isFull());