Skip to content

Commit c4e1eb9

Browse files
committed
Fix warning in cloop code.
1 parent f8aaa63 commit c4e1eb9

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

extern/cloop/src/cloop/Main.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@
2828
#include <string>
2929
#include <stdexcept>
3030

31-
using std::auto_ptr;
31+
using std::unique_ptr;
3232
using std::cerr;
3333
using std::endl;
3434
using std::exception;
@@ -66,7 +66,7 @@ static void run(int argc, const char* argv[])
6666
Parser parser(&lexer);
6767
parser.parse();
6868

69-
auto_ptr<Generator> generator;
69+
unique_ptr<Generator> generator;
7070

7171
if (outFormat == "c++")
7272
{

0 commit comments

Comments
 (0)