MCPcopy Create free account
hub / github.com/BZFlag-Dev/bzflag / OSFileOSToStdDir

Function OSFileOSToStdDir

src/common/OSFile.cpp:53–59  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

51}
52
53void OSFileOSToStdDir(std::string& dir) {
54//#ifndef _WIN32
55// return;
56//#else
57 std::replace(dir.begin(), dir.end(), '\\', '/');
58//#endif//WIN32
59}
60
61// Windows specific make path
62#ifdef _WIN32

Callers 4

initClientFunction · 0.85
osNameMethod · 0.85
setOSDirMethod · 0.85
mainFunction · 0.85

Calls 2

beginMethod · 0.45
endMethod · 0.45

Tested by

no test coverage detected