MCPcopy Create free account
hub / github.com/OneLoneCoder/olcPixelGameEngine / makeposix

Method makeposix

olcPixelGameEngine.h:2462–2467  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2460 };
2461
2462 std::string ResourcePack::makeposix(const std::string& path)
2463 {
2464 std::string o;
2465 for (auto s : path) o += std::string(1, s == '\\' ? '/' : s);
2466 return o;
2467 };
2468
2469 // O------------------------------------------------------------------------------O
2470 // | olc::PixelGameEngine IMPLEMENTATION |

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected