Changeset 10777 for code/branches/cpp11_v2/src/libraries/core/Loader.cc
- Timestamp:
- Nov 8, 2015, 11:16:22 AM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/cpp11_v2/src/libraries/core/Loader.cc
r10772 r10777 31 31 #include <sstream> 32 32 #include <tinyxml/ticpp.h> 33 #include <boost/scoped_ptr.hpp>34 33 #include <boost/filesystem.hpp> 35 34 #include <boost/filesystem/fstream.hpp> … … 80 79 { 81 80 // Use the LuaState to replace the XML tags (calls our function) 82 boost::scoped_ptr<LuaState> luaState(new LuaState());81 const std::unique_ptr<LuaState> luaState(new LuaState()); 83 82 luaState->setTraceMap(lineTrace); 84 83 luaState->setIncludeParser(&Loader::replaceLuaTags);
Note: See TracChangeset
for help on using the changeset viewer.