]> git.saurik.com Git - wxWidgets.git/commitdiff
fix GCC warning about not explicitly initializing base class
authorPaul Cornett <paulcor@bullseye.com>
Sat, 8 Jan 2011 17:33:51 +0000 (17:33 +0000)
committerPaul Cornett <paulcor@bullseye.com>
Sat, 8 Jan 2011 17:33:51 +0000 (17:33 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@66654 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

include/wx/ustring.h

index 0c00b6f9df3ccb779c7fbde9e1b2223c9167ed89..5b0d377e74d18a61718f35ddd6482f492ce6c1ef 100644 (file)
@@ -45,7 +45,6 @@ public:
     wxUString() { }
 
     wxUString( const wxChar32 *str )                            { assign(str); }
-    wxUString( const wxUString &str )                           { assign(str); }
     wxUString( const wxScopedU32CharBuffer &buf )                     { assign(buf); }
 
     wxUString( const char *str )                                { assign(str); }
@@ -579,8 +578,6 @@ public:
 
 
     // operator =
-    wxUString& operator=(const wxUString& s)
-        { return assign( s ); }
     wxUString& operator=(const wxString& s)
         { return assign( s ); }
     wxUString& operator=(const wxCStrData* s)