git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42514
c3d73ce0-8a6f-49c7-b76d-
6d57e0e08775
if (!leftStream.get() || !leftStream->IsOk())
return NULL;
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
// The way compressed streams are supposed to be served is e.g.:
// Content-type: application/postscript