one less warning for VC++

This commit is contained in:
Andreas Fabri 2008-11-25 10:24:36 +00:00
parent bfdd8e9fe7
commit d62d64f2cd
2 changed files with 2 additions and 2 deletions

View File

@ -59,7 +59,7 @@ public:
// cerr or a file handle to /dev/null. The latter one would
// mimick the behaviour that one can still use a stream with
// an invalid stream, but without producing any output.
CGAL_assertion( m_os);
CGAL_assertion( m_os != 0 );
return *m_os;
}
};

View File

@ -53,7 +53,7 @@ public:
// cerr or a file handle to /dev/null. The latter one would
// mimick the behaviour that one can still use a stream with
// an invalid stream, but without producing any output.
CGAL_assertion( m_os);
CGAL_assertion( m_os != 0 );
return *m_os;
}
private: