X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/89220a94281cb6693464dafa4f562eaa9ae0d540..38a5c64e29ab1d081af309a73c7af94069cf799f:/src/common/ffile.cpp diff --git a/src/common/ffile.cpp b/src/common/ffile.cpp index d34756376a..997bf03d2b 100644 --- a/src/common/ffile.cpp +++ b/src/common/ffile.cpp @@ -103,7 +103,7 @@ bool wxFFile::Close() // read/write // ---------------------------------------------------------------------------- -bool wxFFile::ReadAll(wxString *str, wxMBConv& conv) +bool wxFFile::ReadAll(wxString *str, const wxMBConv& conv) { wxCHECK_MSG( str, false, wxT("invalid parameter") ); wxCHECK_MSG( IsOpened(), false, wxT("can't read from closed file") );