Changeset 2750 for code/branches/network/src/core/Core.cc
- Timestamp:
- Mar 5, 2009, 2:58:42 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/network/src/core/Core.cc
r2727 r2750 260 260 /*static*/ std::string Core::getMediaPathString() 261 261 { 262 return mediaPath_g.directory_string() + CP_SLASH;263 }264 /*static*/ std::string Core::getMediaPathPOSIXString()265 {266 262 return mediaPath_g.string() + '/'; 267 268 263 } 269 264 … … 274 269 /*static*/ std::string Core::getConfigPathString() 275 270 { 276 return configPath_g.directory_string() + CP_SLASH;277 }278 /*static*/ std::string Core::getConfigPathPOSIXString()279 {280 271 return configPath_g.string() + '/'; 281 272 } … … 286 277 } 287 278 /*static*/ std::string Core::getLogPathString() 288 {289 return logPath_g.directory_string() + CP_SLASH;290 }291 /*static*/ std::string Core::getLogPathPOSIXString()292 279 { 293 280 return logPath_g.string() + '/'; … … 456 443 { 457 444 ThrowException(General, std::string("The ") + it->second + " directory has been preoccupied by a file! \ 458 Please remove " + it->first. file_string());445 Please remove " + it->first.string()); 459 446 } 460 447 if (boost::filesystem::create_directories(it->first)) // function may not return true at all (bug?)
Note: See TracChangeset
for help on using the changeset viewer.