for apple llvm compiler

This commit is contained in:
vladislav.khorev committed 2013-05-28 04:52:16 +00:00
1 parent 925225df0e
commit 66799311e7
1 file changed
+3 -3
+3 -3
View File
@@ -68,7 +68,7 @@ inline std::string GetFileName(const std::string& filename)
i++; i++;
} }
return std::string(i, filename.end()); return std::string(i, filename.cend());
} }
//utitily to process texture uploading //utitily to process texture uploading
@@ -89,7 +89,7 @@ inline std::string GetFileExt(const std::string& filename)
while (*i != '.') while (*i != '.')
--i; --i;
return std::string(i, filename.end()); return std::string(i, filename.cend());
} }
@@ -102,7 +102,7 @@ inline std::string GetFileNameWithoutExt(const std::string& filename)
while (*i != '.') while (*i != '.')
--i; --i;
return std::string(result.begin(), i); return std::string(result.cbegin(), i);
} }
std::string GetFilePath(const std::string& filename); std::string GetFilePath(const std::string& filename);