Theoretically resolved jenky cross-compiler compatability

This commit is contained in:
Kayne Ruse
2014-11-05 23:54:10 +11:00
parent 4434900afc
commit 0f139562c3
14 changed files with 42 additions and 44 deletions
+1 -3
View File
@@ -29,10 +29,8 @@ std::string truncatePath(std::string pathname) {
pathname.rbegin(),
pathname.rend(),
[](char ch) -> bool {
//windows only
//windows & unix tested
return ch == '/' || ch == '\\';
// //unix only
// return ch == '/';
}).base(),
pathname.end());
}