mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-09 19:35:51 +00:00
correcting bustage fix per dbaron: "reenable that for non-gcc compilers"
This commit is contained in:
parent
59e14a6471
commit
ac7b627975
@ -450,14 +450,14 @@ 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
|
||||
// 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 !defined(__GNUC__) || __GNUC__ > 2 || __GNUC_MINOR__ > 95
|
||||
|
||||
// NOT TO BE IMPLEMENTED
|
||||
nsTAString_CharT( const self_type& );
|
||||
@ -465,7 +465,6 @@ class nsTAString_CharT
|
||||
#endif
|
||||
|
||||
// NOT TO BE IMPLEMENTED
|
||||
//size_type CountChar( incompatible_char_type );
|
||||
void operator= ( incompatible_char_type );
|
||||
void Assign ( incompatible_char_type );
|
||||
void operator+= ( incompatible_char_type );
|
||||
|
Loading…
Reference in New Issue
Block a user