fixing build bustage
git-svn-id: svn://10.0.0.236/trunk@66197 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
@@ -425,8 +425,8 @@ public:
|
||||
* @param aString: string to be added to this
|
||||
* @return this
|
||||
*/
|
||||
nsCString& operator=(PRUnichar aChar) {return Assign(aChar);}
|
||||
nsCString& operator=(char aChar) {AssignWithConversion(aChar); return *this;}
|
||||
nsCString& operator=(PRUnichar aChar) {AssignWithConversion(aChar); return *this;}
|
||||
nsCString& operator=(char aChar) {return Assign(aChar);}
|
||||
nsCString& operator=(const PRUnichar* aString) {AssignWithConversion(aString); return *this;}
|
||||
|
||||
nsCString& operator=(const nsCString& aString) {return Assign(aString);}
|
||||
@@ -775,10 +775,10 @@ public:
|
||||
private:
|
||||
// NOT TO BE IMPLEMENTED
|
||||
// these signatures help clients not accidentally call the wrong thing helped by C++ automatic integral promotion
|
||||
void AssignWithConversion( char ) { }
|
||||
void AssignWithConversion( const char*, PRInt32=-1 ) { }
|
||||
void AppendWithConversion( char ) { }
|
||||
void InsertWithConversion( char, PRUint32 ) { }
|
||||
void AssignWithConversion( char );
|
||||
void AssignWithConversion( const char*, PRInt32=-1 );
|
||||
void AppendWithConversion( char );
|
||||
void InsertWithConversion( char, PRUint32 );
|
||||
};
|
||||
|
||||
#if 0//def NEW_STRING_APIS
|
||||
|
||||
@@ -870,11 +870,11 @@ public:
|
||||
private:
|
||||
// NOT TO BE IMPLEMENTED
|
||||
// these signatures help clients not accidentally call the wrong thing helped by C++ automatic integral promotion
|
||||
void AssignWithConversion( PRUnichar ) { }
|
||||
void AssignWithConversion( const PRUnichar*, PRInt32=-1 ) { }
|
||||
void AppendWithConversion( PRUnichar ) { }
|
||||
void AppendWithConversion( const PRUnichar*, PRInt32=-1 ) { }
|
||||
void InsertWithConversion( const PRUnichar*, PRUint32, PRInt32=-1 ) { }
|
||||
void AssignWithConversion( PRUnichar );
|
||||
void AssignWithConversion( const PRUnichar*, PRInt32=-1 );
|
||||
void AppendWithConversion( PRUnichar );
|
||||
void AppendWithConversion( const PRUnichar*, PRInt32=-1 );
|
||||
void InsertWithConversion( const PRUnichar*, PRUint32, PRInt32=-1 );
|
||||
};
|
||||
|
||||
#if 0//def NEW_STRING_APIS
|
||||
|
||||
Reference in New Issue
Block a user