We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f8aaa63 commit c4e1eb9Copy full SHA for c4e1eb9
extern/cloop/src/cloop/Main.cpp
@@ -28,7 +28,7 @@
28
#include <string>
29
#include <stdexcept>
30
31
-using std::auto_ptr;
+using std::unique_ptr;
32
using std::cerr;
33
using std::endl;
34
using std::exception;
@@ -66,7 +66,7 @@ static void run(int argc, const char* argv[])
66
Parser parser(&lexer);
67
parser.parse();
68
69
- auto_ptr<Generator> generator;
+ unique_ptr<Generator> generator;
70
71
if (outFormat == "c++")
72
{
0 commit comments