Permalink
Browse files

Minor change

  • Loading branch information...
1 parent bbf5f16 commit e09085137df3c0c746125b9b6b8dae3f736d4e15 @poiru poiru committed Mar 17, 2012
Showing with 5 additions and 4 deletions.
  1. +5 −4 Library/RawString.h
View
@@ -34,6 +34,11 @@ class CRawString
{
}
+ CRawString(const CRawString& rhs) :
+ m_String(str_alloc(rhs.c_str()))
+ {
+ }
+
~CRawString()
{
clear();
@@ -76,10 +81,6 @@ class CRawString
}
private:
- CRawString(const CRawString& p)
- {
- }
-
WCHAR* str_alloc(const WCHAR* str)
{
return str ? _wcsdup(str) : NULL;

0 comments on commit e090851

Please sign in to comment.