(file) Return to String.cpp CVS log (file) (dir) Up to [Pegasus] / pegasus / src / Pegasus / Common

Diff for /pegasus/src/Pegasus/Common/String.cpp between version 1.55 and 1.56

version 1.55, 2002/08/29 16:54:38 version 1.56, 2002/08/30 00:51:59
Line 66 
Line 66 
         delete [] _rep;         delete [] _rep;
 } }
  
   CString& CString::operator=(const CString& cstr)
   {
       _rep = new char[strlen(cstr._rep)+1];
       _rep = strcpy(_rep, cstr._rep);
       return *this;
   }
   
 CString::operator const char*() const CString::operator const char*() const
 { {
     return _rep;     return _rep;


Legend:
Removed from v.1.55  
changed lines
  Added in v.1.56

No CVS admin address has been configured
Powered by
ViewCVS 0.9.2