X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/39a16cb41d0f31923a88b0e50761fb7d4a14729a..e2f9212c00094f3032511bc7d42efc7c1b91134b:/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;