Changeset 749 in dev for trunk/ab5.0/jenga/src/common/Path.cpp
- Timestamp:
- Sep 15, 2008, 6:06:34 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/ab5.0/jenga/src/common/Path.cpp
r623 r749 79 79 std::string Jenga::Common::Path::ExtractDirPath( const std::string &filepath ) 80 80 { 81 Path path( filepath ); 82 std::string result = path.GetDriveName() + path.GetDirName(); 83 return result; 81 return Path( filepath ).GetDirPath(); 84 82 }
Note:
See TracChangeset
for help on using the changeset viewer.