Changeset 10916 for code/branches/cpp11_v2/src/libraries/core/Resource.cc
- Timestamp:
- Dec 2, 2015, 11:22:03 PM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/cpp11_v2/src/libraries/core/Resource.cc
r10821 r10916 58 58 DataStreamListPtr resources(new Ogre::DataStreamList()); 59 59 const Ogre::StringVector& groups = Ogre::ResourceGroupManager::getSingleton().getResourceGroups(); 60 for (const auto& group : groups)60 for (const std::string& group : groups) 61 61 { 62 62 DataStreamListPtr temp = Ogre::ResourceGroupManager::getSingleton().openResources(pattern, group); … … 121 121 StringVectorPtr resourceNames(new Ogre::StringVector()); 122 122 const Ogre::StringVector& groups = Ogre::ResourceGroupManager::getSingleton().getResourceGroups(); 123 for (const auto& group : groups)123 for (const std::string& group : groups) 124 124 { 125 125 StringVectorPtr temp = Ogre::ResourceGroupManager::getSingleton().findResourceNames(group, pattern);
Note: See TracChangeset
for help on using the changeset viewer.