Minor change

This commit is contained in:
Birunthan Mohanathas 2012-03-17 14:23:49 +02:00
parent bbf5f168ba
commit e09085137d

View File

@ -34,6 +34,11 @@ public:
{ {
} }
CRawString(const CRawString& rhs) :
m_String(str_alloc(rhs.c_str()))
{
}
~CRawString() ~CRawString()
{ {
clear(); clear();
@ -76,10 +81,6 @@ public:
} }
private: private:
CRawString(const CRawString& p)
{
}
WCHAR* str_alloc(const WCHAR* str) WCHAR* str_alloc(const WCHAR* str)
{ {
return str ? _wcsdup(str) : NULL; return str ? _wcsdup(str) : NULL;