diff --git a/mozilla/string/obsolete/nsString.h b/mozilla/string/obsolete/nsString.h index 2aaf5f703df..03fb430869b 100644 --- a/mozilla/string/obsolete/nsString.h +++ b/mozilla/string/obsolete/nsString.h @@ -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 diff --git a/mozilla/string/obsolete/nsString2.h b/mozilla/string/obsolete/nsString2.h index bafcb690f3e..4e0d313fa8a 100644 --- a/mozilla/string/obsolete/nsString2.h +++ b/mozilla/string/obsolete/nsString2.h @@ -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 diff --git a/mozilla/xpcom/ds/nsString.h b/mozilla/xpcom/ds/nsString.h index 2aaf5f703df..03fb430869b 100644 --- a/mozilla/xpcom/ds/nsString.h +++ b/mozilla/xpcom/ds/nsString.h @@ -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 diff --git a/mozilla/xpcom/ds/nsString2.h b/mozilla/xpcom/ds/nsString2.h index bafcb690f3e..4e0d313fa8a 100644 --- a/mozilla/xpcom/ds/nsString2.h +++ b/mozilla/xpcom/ds/nsString2.h @@ -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 diff --git a/mozilla/xpcom/string/obsolete/nsString.h b/mozilla/xpcom/string/obsolete/nsString.h index 2aaf5f703df..03fb430869b 100644 --- a/mozilla/xpcom/string/obsolete/nsString.h +++ b/mozilla/xpcom/string/obsolete/nsString.h @@ -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 diff --git a/mozilla/xpcom/string/obsolete/nsString2.h b/mozilla/xpcom/string/obsolete/nsString2.h index bafcb690f3e..4e0d313fa8a 100644 --- a/mozilla/xpcom/string/obsolete/nsString2.h +++ b/mozilla/xpcom/string/obsolete/nsString2.h @@ -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