Changeset 10772 for code/branches/cpp11_v2/src/libraries/core/Resource.cc
- Timestamp:
- Nov 7, 2015, 5:38:21 PM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/cpp11_v2/src/libraries/core/Resource.cc
r10771 r10772 95 95 if (it->filename == name) 96 96 { 97 std::shared_ptr<ResourceInfo> ptr( new ResourceInfo());97 std::shared_ptr<ResourceInfo> ptr(std::make_shared<ResourceInfo>()); 98 98 ptr->filename = name; 99 99 ptr->path = it->path;
Note: See TracChangeset
for help on using the changeset viewer.