Changeset 10771 for code/branches/cpp11_v2/src/libraries/core/Loader.cc
- Timestamp:
- Nov 7, 2015, 5:24:58 PM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/cpp11_v2/src/libraries/core/Loader.cc
r10769 r10771 73 73 std::string xmlInput; 74 74 75 s hared_ptr<std::vector<std::vector<std::pair<std::string, size_t>>>> lineTrace(new std::vector<std::vector<std::pair<std::string, size_t>>>());75 std::shared_ptr<std::vector<std::vector<std::pair<std::string, size_t>>>> lineTrace(new std::vector<std::vector<std::pair<std::string, size_t>>>()); 76 76 lineTrace->reserve(1000); //arbitrary number 77 77 … … 80 80 { 81 81 // Use the LuaState to replace the XML tags (calls our function) 82 scoped_ptr<LuaState> luaState(new LuaState());82 boost::scoped_ptr<LuaState> luaState(new LuaState()); 83 83 luaState->setTraceMap(lineTrace); 84 84 luaState->setIncludeParser(&Loader::replaceLuaTags); … … 88 88 else 89 89 { 90 s hared_ptr<ResourceInfo> info = Resource::getInfo(file->getFilename());90 std::shared_ptr<ResourceInfo> info = Resource::getInfo(file->getFilename()); 91 91 if (info == nullptr) 92 92 {
Note: See TracChangeset
for help on using the changeset viewer.