зеркало из https://github.com/mozilla/pjs.git
now that constructors are explicit, we'll have to get rid of extra comparison operators ... in fact, this is to fix immediate bustage
This commit is contained in:
Родитель
a770ac13fe
Коммит
457454c555
|
@ -494,7 +494,7 @@ private:
|
|||
void InsertWithConversion( char, PRUint32 );
|
||||
};
|
||||
|
||||
NS_DEF_STRING_COMPARISON_OPERATORS(nsCString, char)
|
||||
// NS_DEF_STRING_COMPARISON_OPERATORS(nsCString, char)
|
||||
|
||||
extern NS_COM int fputs(const nsCString& aString, FILE* out);
|
||||
//ostream& operator<<(ostream& aStream,const nsCString& aString);
|
||||
|
|
|
@ -570,7 +570,7 @@ private:
|
|||
void InsertWithConversion( const PRUnichar*, PRUint32, PRInt32=-1 );
|
||||
};
|
||||
|
||||
NS_DEF_STRING_COMPARISON_OPERATORS(nsString, PRUnichar)
|
||||
// NS_DEF_STRING_COMPARISON_OPERATORS(nsString, PRUnichar)
|
||||
|
||||
extern NS_COM int fputs(const nsString& aString, FILE* out);
|
||||
//ostream& operator<<(ostream& aStream,const nsString& aString);
|
||||
|
|
|
@ -821,7 +821,7 @@ class basic_nsLiteralString
|
|||
const CharT* mEnd;
|
||||
};
|
||||
|
||||
NS_DEF_TEMPLATE_STRING_COMPARISON_OPERATORS(basic_nsLiteralString<CharT>, CharT)
|
||||
// NS_DEF_TEMPLATE_STRING_COMPARISON_OPERATORS(basic_nsLiteralString<CharT>, CharT)
|
||||
|
||||
template <class CharT>
|
||||
const CharT*
|
||||
|
@ -1050,7 +1050,7 @@ class nsPromiseConcatenation
|
|||
PRUint32 mFragmentIdentifierMask;
|
||||
};
|
||||
|
||||
NS_DEF_TEMPLATE_STRING_COMPARISON_OPERATORS(nsPromiseConcatenation<CharT>, CharT)
|
||||
// NS_DEF_TEMPLATE_STRING_COMPARISON_OPERATORS(nsPromiseConcatenation<CharT>, CharT)
|
||||
|
||||
template <class CharT>
|
||||
PRUint32
|
||||
|
@ -1198,7 +1198,7 @@ class nsPromiseSubstring
|
|||
PRUint32 mLength;
|
||||
};
|
||||
|
||||
NS_DEF_TEMPLATE_STRING_COMPARISON_OPERATORS(nsPromiseSubstring<CharT>, CharT)
|
||||
// NS_DEF_TEMPLATE_STRING_COMPARISON_OPERATORS(nsPromiseSubstring<CharT>, CharT)
|
||||
|
||||
template <class CharT>
|
||||
PRUint32
|
||||
|
|
|
@ -821,7 +821,7 @@ class basic_nsLiteralString
|
|||
const CharT* mEnd;
|
||||
};
|
||||
|
||||
NS_DEF_TEMPLATE_STRING_COMPARISON_OPERATORS(basic_nsLiteralString<CharT>, CharT)
|
||||
// NS_DEF_TEMPLATE_STRING_COMPARISON_OPERATORS(basic_nsLiteralString<CharT>, CharT)
|
||||
|
||||
template <class CharT>
|
||||
const CharT*
|
||||
|
@ -1050,7 +1050,7 @@ class nsPromiseConcatenation
|
|||
PRUint32 mFragmentIdentifierMask;
|
||||
};
|
||||
|
||||
NS_DEF_TEMPLATE_STRING_COMPARISON_OPERATORS(nsPromiseConcatenation<CharT>, CharT)
|
||||
// NS_DEF_TEMPLATE_STRING_COMPARISON_OPERATORS(nsPromiseConcatenation<CharT>, CharT)
|
||||
|
||||
template <class CharT>
|
||||
PRUint32
|
||||
|
@ -1198,7 +1198,7 @@ class nsPromiseSubstring
|
|||
PRUint32 mLength;
|
||||
};
|
||||
|
||||
NS_DEF_TEMPLATE_STRING_COMPARISON_OPERATORS(nsPromiseSubstring<CharT>, CharT)
|
||||
// NS_DEF_TEMPLATE_STRING_COMPARISON_OPERATORS(nsPromiseSubstring<CharT>, CharT)
|
||||
|
||||
template <class CharT>
|
||||
PRUint32
|
||||
|
|
|
@ -494,7 +494,7 @@ private:
|
|||
void InsertWithConversion( char, PRUint32 );
|
||||
};
|
||||
|
||||
NS_DEF_STRING_COMPARISON_OPERATORS(nsCString, char)
|
||||
// NS_DEF_STRING_COMPARISON_OPERATORS(nsCString, char)
|
||||
|
||||
extern NS_COM int fputs(const nsCString& aString, FILE* out);
|
||||
//ostream& operator<<(ostream& aStream,const nsCString& aString);
|
||||
|
|
|
@ -570,7 +570,7 @@ private:
|
|||
void InsertWithConversion( const PRUnichar*, PRUint32, PRInt32=-1 );
|
||||
};
|
||||
|
||||
NS_DEF_STRING_COMPARISON_OPERATORS(nsString, PRUnichar)
|
||||
// NS_DEF_STRING_COMPARISON_OPERATORS(nsString, PRUnichar)
|
||||
|
||||
extern NS_COM int fputs(const nsString& aString, FILE* out);
|
||||
//ostream& operator<<(ostream& aStream,const nsString& aString);
|
||||
|
|
|
@ -494,7 +494,7 @@ private:
|
|||
void InsertWithConversion( char, PRUint32 );
|
||||
};
|
||||
|
||||
NS_DEF_STRING_COMPARISON_OPERATORS(nsCString, char)
|
||||
// NS_DEF_STRING_COMPARISON_OPERATORS(nsCString, char)
|
||||
|
||||
extern NS_COM int fputs(const nsCString& aString, FILE* out);
|
||||
//ostream& operator<<(ostream& aStream,const nsCString& aString);
|
||||
|
|
|
@ -570,7 +570,7 @@ private:
|
|||
void InsertWithConversion( const PRUnichar*, PRUint32, PRInt32=-1 );
|
||||
};
|
||||
|
||||
NS_DEF_STRING_COMPARISON_OPERATORS(nsString, PRUnichar)
|
||||
// NS_DEF_STRING_COMPARISON_OPERATORS(nsString, PRUnichar)
|
||||
|
||||
extern NS_COM int fputs(const nsString& aString, FILE* out);
|
||||
//ostream& operator<<(ostream& aStream,const nsString& aString);
|
||||
|
|
|
@ -821,7 +821,7 @@ class basic_nsLiteralString
|
|||
const CharT* mEnd;
|
||||
};
|
||||
|
||||
NS_DEF_TEMPLATE_STRING_COMPARISON_OPERATORS(basic_nsLiteralString<CharT>, CharT)
|
||||
// NS_DEF_TEMPLATE_STRING_COMPARISON_OPERATORS(basic_nsLiteralString<CharT>, CharT)
|
||||
|
||||
template <class CharT>
|
||||
const CharT*
|
||||
|
@ -1050,7 +1050,7 @@ class nsPromiseConcatenation
|
|||
PRUint32 mFragmentIdentifierMask;
|
||||
};
|
||||
|
||||
NS_DEF_TEMPLATE_STRING_COMPARISON_OPERATORS(nsPromiseConcatenation<CharT>, CharT)
|
||||
// NS_DEF_TEMPLATE_STRING_COMPARISON_OPERATORS(nsPromiseConcatenation<CharT>, CharT)
|
||||
|
||||
template <class CharT>
|
||||
PRUint32
|
||||
|
@ -1198,7 +1198,7 @@ class nsPromiseSubstring
|
|||
PRUint32 mLength;
|
||||
};
|
||||
|
||||
NS_DEF_TEMPLATE_STRING_COMPARISON_OPERATORS(nsPromiseSubstring<CharT>, CharT)
|
||||
// NS_DEF_TEMPLATE_STRING_COMPARISON_OPERATORS(nsPromiseSubstring<CharT>, CharT)
|
||||
|
||||
template <class CharT>
|
||||
PRUint32
|
||||
|
|
Загрузка…
Ссылка в новой задаче