Skip to content

Commit

Permalink
Remove use of deprecated auto_ptr
Browse files Browse the repository at this point in the history
  • Loading branch information
nyalldawson committed Feb 20, 2017
1 parent 1263599 commit c49b537
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/app/mainwin.cpp
Expand Up @@ -9,7 +9,7 @@
std::string moduleExeBaseName( void )
{
DWORD l = MAX_PATH;
std::auto_ptr<char> filepath;
std::unique_ptr<char> filepath;
for ( ;; )
{
filepath.reset( new char[l] );
Expand Down

0 comments on commit c49b537

Please sign in to comment.