Commit 57c62844 authored by Julius NehringWirxel's avatar Julius NehringWirxel

predict is now well formed on apple

parent 766a29ba
......@@ -51,10 +51,10 @@ struct FileLocation
const FileLocation getFileLocation(const std::string_view path)
{
const auto predict = [](char character) {
const auto predict = [](char character) -> bool {
#ifdef _WIN32
return character == _T('\\') || character == _T('/');
#elif __unix__
#elif __unix__ || __APPLE__
return character == '/';
#endif // __unix__
};
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment