зеркало из https://github.com/mozilla/pjs.git
bustage fix for gcc-2.95.3 (speedracer) and egcs-2.91.66 (btek+monkeypox) r=bz
This commit is contained in:
Родитель
cc6df57934
Коммит
4417ce6baf
|
@ -450,9 +450,20 @@ class nsTAString_CharT
|
|||
|
||||
private:
|
||||
|
||||
// GCC 2.95.3 and EGCS-2.91.66 need to be able to automatically
|
||||
// generate a copy-constructor for some unknown reason. It only
|
||||
// needs to do this in order to support automatic construction of
|
||||
// a nsTAString from a nsTStringTuple. I believe enabling the
|
||||
// default copy-ctor is harmless, but I do not want it to be
|
||||
// enabled by default because that might tempt people into using
|
||||
// it (where it would be invalid).
|
||||
#if __GNUC__ > 2 || __GNUC_MINOR__ > 95
|
||||
|
||||
// NOT TO BE IMPLEMENTED
|
||||
nsTAString_CharT( const self_type& );
|
||||
|
||||
#endif
|
||||
|
||||
// NOT TO BE IMPLEMENTED
|
||||
//size_type CountChar( incompatible_char_type );
|
||||
void operator= ( incompatible_char_type );
|
||||
|
|
Загрузка…
Ссылка в новой задаче