X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/39a16cb41d0f31923a88b0e50761fb7d4a14729a..243d4b360385d3364e96d5600f693139e359fb3b:/src/common/datstrm.cpp 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;