X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/8aa3cd14b57820dc30ed2034e35e39623ac45c95..2e14066008229145e2da7b9f05a478ce38631f83:/src/common/fs_filter.cpp diff --git a/src/common/fs_filter.cpp b/src/common/fs_filter.cpp index 4a96eed7f1..628a34af0e 100644 --- a/src/common/fs_filter.cpp +++ b/src/common/fs_filter.cpp @@ -17,10 +17,10 @@ #include "wx/fs_filter.h" -#ifndef WXPRECOMP +#ifndef WX_PRECOMP #endif -#include "wx/ptr_scpd.h" +#include "wx/scopedptr.h" wxDEFINE_SCOPED_PTR_TYPE(wxFSFile) wxDEFINE_SCOPED_PTR_TYPE(wxInputStream) @@ -56,7 +56,7 @@ wxFSFile* wxFilterFSHandler::OpenFile( if (!leftStream.get() || !leftStream->IsOk()) return NULL; - wxInputStreamPtr stream(factory->NewStream(leftStream.get())); + wxInputStreamPtr stream(factory->NewStream(leftStream.release())); // The way compressed streams are supposed to be served is e.g.: // Content-type: application/postscript