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:
waterson%netscape.com 2000-05-15 01:27:04 +00:00
parent c7f05c0de2
commit 2f3bfe1608
6 changed files with 6 additions and 6 deletions

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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