comparison Resources/CodeGeneration/template.in.h.j2 @ 1298:8a0a62189f46

replacing std::auto_ptr by std::unique_ptr
author Sebastien Jodogne <s.jodogne@gmail.com>
date Mon, 02 Mar 2020 16:31:30 +0100
parents 78f4317eb94b
children
comparison
equal deleted inserted replaced
1296:86400fa16091 1298:8a0a62189f46
17 #include <json/json.h> 17 #include <json/json.h>
18 18
19 //#define STONEGEN_NO_CPP11 1 19 //#define STONEGEN_NO_CPP11 1
20 20
21 #ifdef STONEGEN_NO_CPP11 21 #ifdef STONEGEN_NO_CPP11
22 #define StoneSmartPtr std::auto_ptr 22 #define StoneSmartPtr std::unique_ptr
23 #else 23 #else
24 #define StoneSmartPtr std::unique_ptr 24 #define StoneSmartPtr std::unique_ptr
25 #endif 25 #endif
26 26
27 namespace {{rootName}} 27 namespace {{rootName}}