Changeset 9172 in webkit for trunk/JavaScriptCore/kjs/ustring.cpp


Ignore:
Timestamp:
May 16, 2005, 11:57:29 AM (20 years ago)
Author:
darin
Message:

Reviewed by Adele.

  • fixed issues preventing us from compiling with newer versions of gcc 4.0
  • kjs/ustring.cpp: (KJS::operator==): Remove redundant and illegal KJS:: prefix on this function's definition. (KJS::operator<): Ditto. (KJS::compare): Ditto.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/JavaScriptCore/kjs/ustring.cpp

    r9042 r9172  
    133133}
    134134
    135 bool KJS::operator==(const KJS::CString& c1, const KJS::CString& c2)
     135bool operator==(const CString& c1, const CString& c2)
    136136{
    137137  int len = c1.size();
     
    11391139}
    11401140
    1141 bool KJS::operator==(const UString& s1, const UString& s2)
     1141bool operator==(const UString& s1, const UString& s2)
    11421142{
    11431143  if (s1.rep->len != s2.rep->len)
     
    11481148}
    11491149
    1150 bool KJS::operator==(const UString& s1, const char *s2)
     1150bool operator==(const UString& s1, const char *s2)
    11511151{
    11521152  if (s2 == 0) {
     
    11661166}
    11671167
    1168 bool KJS::operator<(const UString& s1, const UString& s2)
     1168bool operator<(const UString& s1, const UString& s2)
    11691169{
    11701170  const int l1 = s1.size();
     
    11851185}
    11861186
    1187 int KJS::compare(const UString& s1, const UString& s2)
     1187int compare(const UString& s1, const UString& s2)
    11881188{
    11891189  const int l1 = s1.size();
Note: See TracChangeset for help on using the changeset viewer.