summaryrefslogtreecommitdiff
path: root/shell
diff options
context:
space:
mode:
authorTakeshi Abe <tabe@fixedpoint.jp>2014-02-25 16:53:01 +0900
committerTakeshi Abe <tabe@fixedpoint.jp>2014-02-25 16:55:00 +0900
commit5673bac9a7403d19bafbb28f2608be7f38dbb4df (patch)
tree890fdb67a1c0914fb25ef3b86e06200c10d2f642 /shell
parent35f28b706e245d53e6f41f94ad060be2fb4f846d (diff)
Revert partially "Replace deprecated std::auto_ptr with boost::scoped_ptr"
This reverts partially commit 4a9347fa320d892b60fd03082925f63a1d69cfb9. Change-Id: Ibbc626f8d30de040fe9e809b44d5ffc9513720fb
Diffstat (limited to 'shell')
-rw-r--r--shell/source/win32/shlxthandler/thumbviewer/thumbviewer.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/shell/source/win32/shlxthandler/thumbviewer/thumbviewer.cxx b/shell/source/win32/shlxthandler/thumbviewer/thumbviewer.cxx
index ea02c7d20322..45918f5f5d81 100644
--- a/shell/source/win32/shlxthandler/thumbviewer/thumbviewer.cxx
+++ b/shell/source/win32/shlxthandler/thumbviewer/thumbviewer.cxx
@@ -43,7 +43,7 @@
#if defined _MSC_VER
#pragma warning(pop)
#endif
-#include <boost/scoped_ptr.hpp>
+#include <memory>
extern HINSTANCE g_hModule;
@@ -357,7 +357,7 @@ HRESULT STDMETHODCALLTYPE CThumbviewer::Extract(HBITMAP *phBmpImage)
try
{
std::wstring fname = getShortPathName( filename_ );
- boost::scoped_ptr<ZipFile> zipfile( new ZipFile( WStringToString( fname ) ) );
+ std::auto_ptr<ZipFile> zipfile( new ZipFile( WStringToString( fname ) ) );
if (zipfile->HasContent(THUMBNAIL_CONTENT))
{