mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-30 00:01:50 +00:00
msvc barfs on functions taking nsAString& with default initializers from
an NS_LITERAL_STRING. Remove the default initializer, which is not being used. r=jag, a=leaf to get tests building again.
This commit is contained in:
parent
85e9b0a711
commit
4668789df4
@ -69,7 +69,7 @@ extern ostream &operator<<( ostream &s, nsString &str ) {
|
||||
|
||||
class TestObserver : public nsIObserver, public nsSupportsWeakReference {
|
||||
public:
|
||||
TestObserver( const nsAString &name = NS_LITERAL_STRING("unknown") )
|
||||
TestObserver( const nsAString &name )
|
||||
: mName( name ) {
|
||||
NS_INIT_REFCNT();
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user