aboutsummaryrefslogtreecommitdiff
path: root/test/cxxtest/cxxtest.spec
diff options
context:
space:
mode:
authorMax Horn2010-11-18 16:08:56 +0000
committerMax Horn2010-11-18 16:08:56 +0000
commit4707b610fca45c0762e25994594fc58557945a02 (patch)
tree01437dc021de6452b231058d2bb7845c38534e42 /test/cxxtest/cxxtest.spec
parentbac018a3aa1dea0282f5ba49f9eb2001737e8bee (diff)
downloadscummvm-rg350-4707b610fca45c0762e25994594fc58557945a02.tar.gz
scummvm-rg350-4707b610fca45c0762e25994594fc58557945a02.tar.bz2
scummvm-rg350-4707b610fca45c0762e25994594fc58557945a02.zip
COMMON: Fix incorrect use of assert() macro
The assert() macro may be compiled to be empty. In that case, its arguments are *NOT* evaluated. Hence, things like assert(doSomething()) must not be used whenever doSomething() has important side effects. Also document BufferedWriteStream::flushBuffer() and explain why it exists parallel to BufferedWriteStream::flush(). svn-id: r54322
Diffstat (limited to 'test/cxxtest/cxxtest.spec')
0 files changed, 0 insertions, 0 deletions