summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Ivy/Regexp.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/Ivy/Regexp.cxx b/Ivy/Regexp.cxx
index 6d44def..8671411 100644
--- a/Ivy/Regexp.cxx
+++ b/Ivy/Regexp.cxx
@@ -250,7 +250,7 @@ const string & CRegErrorHandler::GetErrorString() const
void CRegErrorHandler::ClearErrorString() const
{
- m_szError = "" ;
+ m_szError.erase() ;
}
const char * CRegErrorHandler::FindErr( int id )