mostream crash fixed (Thanks to Adrian Secord for providing the patch)

git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@256 fdac6126-5c0c-442c-9429-916003d36597
This commit is contained in:
Jan Möbius
2009-12-22 10:22:02 +00:00
parent 0836019f91
commit cf91d704d6
3 changed files with 7 additions and 5 deletions

View File

@@ -180,7 +180,7 @@ protected:
if (!buffer_.empty())
{
if (enabled_) multiplex();
#if defined(OM_CC_GCC) || OM_CC_VERSION < 30000
#if defined( OM_CC_GCC ) && OM_CC_VERSION < 30000
buffer_ = ""; // member clear() not available!
#else
buffer_.clear();