X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/39a16cb41d0f31923a88b0e50761fb7d4a14729a..fa8dca8dd1ba0d6ee9b2c5919a3a944ecde68a50:/src/common/datstrm.cpp?ds=sidebyside diff --git a/src/common/datstrm.cpp b/src/common/datstrm.cpp index d6f97b7e65..e0bd854d4c 100644 --- a/src/common/datstrm.cpp +++ b/src/common/datstrm.cpp @@ -105,7 +105,7 @@ wxString wxDataInputStream::ReadString() #endif return s; } - else + else return wxEmptyString; } @@ -237,7 +237,7 @@ wxDataOutputStream& wxDataOutputStream::operator<<(const wxChar *string) return *this; } -wxDataOutputStream& wxDataOutputStream::operator<<(wxString& string) +wxDataOutputStream& wxDataOutputStream::operator<<(const wxString& string) { WriteString(string); return *this;