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