Skip to content
Snippets Groups Projects
Commit 61dcedcb authored by Dmitri Naumov's avatar Dmitri Naumov
Browse files

[IO] Make FilIO::pathSeparator static.

It is defined multiple times through different translation
units.
parent 60de96ad
No related branches found
No related tags found
No related merge requests found
...@@ -141,7 +141,7 @@ std::string extractPath(std::string const& pathname) ...@@ -141,7 +141,7 @@ std::string extractPath(std::string const& pathname)
return ""; return "";
return pathname.substr(0, pos + 1); return pathname.substr(0, pos + 1);
} }
const char * pathSeparator = static const char * pathSeparator =
#ifdef _WIN32 #ifdef _WIN32
"\\"; "\\";
#else #else
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment