workaround vc6 bug

This commit is contained in:
Glenn Maynard
2006-02-13 01:28:40 +00:00
parent 6116d9f1bc
commit 5095a45ae6
+7
View File
@@ -543,6 +543,13 @@ public:
}
#endif
/* VC6 string is missing clear(). */
#if defined(_MSC_VER) && ( _MSC_VER < 1200 )
void clear()
{
this->erase();
}
#endif
// -------------------------------------------------------------------------
// CStdStr inline concatenation.