With NEW_STRING_APIS, turn on definition of string comparison operators to avoid accidental pointer comparisons. r=scc
git-svn-id: svn://10.0.0.236/trunk@69712 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
parent
c7f05c0de2
commit
2f3bfe1608
@ -793,7 +793,7 @@ private:
|
||||
void InsertWithConversion( char, PRUint32 );
|
||||
};
|
||||
|
||||
#if 0//def NEW_STRING_APIS
|
||||
#ifdef NEW_STRING_APIS
|
||||
NS_DEF_STRING_COMPARISON_OPERATORS(nsCString, char)
|
||||
#endif
|
||||
|
||||
|
||||
@ -887,7 +887,7 @@ private:
|
||||
void InsertWithConversion( const PRUnichar*, PRUint32, PRInt32=-1 );
|
||||
};
|
||||
|
||||
#if 0//def NEW_STRING_APIS
|
||||
#ifdef NEW_STRING_APIS
|
||||
NS_DEF_STRING_COMPARISON_OPERATORS(nsString, PRUnichar)
|
||||
#endif
|
||||
|
||||
|
||||
@ -793,7 +793,7 @@ private:
|
||||
void InsertWithConversion( char, PRUint32 );
|
||||
};
|
||||
|
||||
#if 0//def NEW_STRING_APIS
|
||||
#ifdef NEW_STRING_APIS
|
||||
NS_DEF_STRING_COMPARISON_OPERATORS(nsCString, char)
|
||||
#endif
|
||||
|
||||
|
||||
@ -887,7 +887,7 @@ private:
|
||||
void InsertWithConversion( const PRUnichar*, PRUint32, PRInt32=-1 );
|
||||
};
|
||||
|
||||
#if 0//def NEW_STRING_APIS
|
||||
#ifdef NEW_STRING_APIS
|
||||
NS_DEF_STRING_COMPARISON_OPERATORS(nsString, PRUnichar)
|
||||
#endif
|
||||
|
||||
|
||||
@ -793,7 +793,7 @@ private:
|
||||
void InsertWithConversion( char, PRUint32 );
|
||||
};
|
||||
|
||||
#if 0//def NEW_STRING_APIS
|
||||
#ifdef NEW_STRING_APIS
|
||||
NS_DEF_STRING_COMPARISON_OPERATORS(nsCString, char)
|
||||
#endif
|
||||
|
||||
|
||||
@ -887,7 +887,7 @@ private:
|
||||
void InsertWithConversion( const PRUnichar*, PRUint32, PRInt32=-1 );
|
||||
};
|
||||
|
||||
#if 0//def NEW_STRING_APIS
|
||||
#ifdef NEW_STRING_APIS
|
||||
NS_DEF_STRING_COMPARISON_OPERATORS(nsString, PRUnichar)
|
||||
#endif
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user