Changeset 8285 for code/branches/kicklib2/src/libraries/core/Resource.cc
- Timestamp:
- Apr 21, 2011, 7:43:10 PM (13 years ago)
- Location:
- code/branches/kicklib2
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/kicklib2
-
code/branches/kicklib2/src/libraries/core/Resource.cc
r8284 r8285 33 33 #include <OgreFileSystem.h> 34 34 #include <OgreResourceGroupManager.h> 35 36 // Differentiate Boost Filesystem v2 and v3 37 #if (BOOST_FILESYSTEM_VERSION < 3) 38 # define BF_GENERIC_STRING string 39 #else 40 # define BF_GENERIC_STRING generic_string 41 #endif 35 42 36 43 namespace orxonox … … 98 105 boost::filesystem::path base(it->archive->getName()); 99 106 base /= it->filename; 100 ptr->fileSystemPath = base. string();107 ptr->fileSystemPath = base.BF_GENERIC_STRING(); 101 108 } 102 109 return ptr;
Note: See TracChangeset
for help on using the changeset viewer.