(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.136 and 1.137

version 1.136, 2009/12/15 11:39:34 version 1.137, 2010/06/06 17:04:16
Line 1089 
Line 1089 
 Boolean String::equal(const String& s1, const String& s2) Boolean String::equal(const String& s1, const String& s2)
 { {
     return (s1._rep == s2._rep) ||     return (s1._rep == s2._rep) ||
         (s1._rep->size == s2._rep->size) &&          ((s1._rep->size == s2._rep->size) &&
         memcmp(s1._rep->data,         memcmp(s1._rep->data,
                s2._rep->data,                s2._rep->data,
                s1._rep->size * sizeof(Uint16)) == 0;                  s1._rep->size * sizeof(Uint16)) == 0);
 } }
  
 Boolean String::equal(const String& s1, const char* s2) Boolean String::equal(const String& s1, const char* s2)


Legend:
Removed from v.1.136  
changed lines
  Added in v.1.137

No CVS admin address has been configured
Powered by
ViewCVS 0.9.2