summaryrefslogtreecommitdiff
path: root/common
diff options
context:
space:
mode:
Diffstat (limited to 'common')
-rw-r--r--common/str.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/common/str.h b/common/str.h
index 60c352f..cc6d474 100644
--- a/common/str.h
+++ b/common/str.h
@@ -8,9 +8,9 @@ class String
public:
String ();
String (const String& src)
- { *this = src; }
+ { m_pData = NULL; *this = src; }
String (const char* str)
- { *this = str; }
+ { m_pData = NULL; *this = str; }
~String ();
int GetLength () const