Skip to content

Commit c49b537

Browse files
committed
Remove use of deprecated auto_ptr
1 parent 1263599 commit c49b537

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/app/mainwin.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
std::string moduleExeBaseName( void )
1010
{
1111
DWORD l = MAX_PATH;
12-
std::auto_ptr<char> filepath;
12+
std::unique_ptr<char> filepath;
1313
for ( ;; )
1414
{
1515
filepath.reset( new char[l] );

0 commit comments

Comments
 (0)