Kaydet (Commit) 5673bac9 authored tarafından Takeshi Abe's avatar Takeshi Abe

Revert partially "Replace deprecated std::auto_ptr with boost::scoped_ptr"

This reverts partially commit 4a9347fa.

Change-Id: Ibbc626f8d30de040fe9e809b44d5ffc9513720fb
üst 35f28b70
......@@ -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))
{
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment