comparison Resources/CodeGeneration/template.in.h.j2 @ 1299:c38c89684d83 broker

replacing std::auto_ptr by std::unique_ptr
author Sebastien Jodogne <s.jodogne@gmail.com>
date Mon, 02 Mar 2020 17:21:24 +0100
parents 78f4317eb94b
children
comparison
equal deleted inserted replaced
1297:6ab03e429f06 1299:c38c89684d83
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}}