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

Diff for /pegasus/src/Pegasus/Common/StringInline.h between version 1.9 and 1.10

version 1.9, 2006/01/30 16:17:08 version 1.10, 2006/05/30 15:41:57
Line 102 
Line 102 
  
 PEGASUS_STRING_INLINE const Char16* String::getChar16Data() const PEGASUS_STRING_INLINE const Char16* String::getChar16Data() const
 { {
     return (Char16*)_rep->data;      return (Char16*)&(_rep->data[0]);
 } }
  
 PEGASUS_STRING_INLINE Char16& String::operator[](Uint32 i) PEGASUS_STRING_INLINE Char16& String::operator[](Uint32 i)
Line 145 
Line 145 
  
 PEGASUS_STRING_INLINE Uint32 String::find(const String& s) const PEGASUS_STRING_INLINE Uint32 String::find(const String& s) const
 { {
     return StringFindAux(_rep, (Char16*)s._rep->data, s._rep->size);      return StringFindAux(_rep, (Char16*)&(s._rep->data[0]), s._rep->size);
 } }
  
 PEGASUS_STRING_INLINE String& String::append(const Char16& c) PEGASUS_STRING_INLINE String& String::append(const Char16& c)


Legend:
Removed from v.1.9  
changed lines
  Added in v.1.10

No CVS admin address has been configured
Powered by
ViewCVS 0.9.2