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:
bzbarsky%mit.edu 2001-11-14 17:27:11 +00:00
parent 85e9b0a711
commit 4668789df4

View File

@ -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();
}