Commit 1515ab9d authored by kulvait's avatar kulvait

FIX: absolute path instead of canonical

parent 2b5d1fe9
......@@ -182,7 +182,7 @@ namespace io {
std::string getParent(const std::string& path)
{
std::string absolutePath = std::experimental::filesystem::canonical(path);
std::string absolutePath = std::experimental::filesystem::absolute(path);
// find last '/' or '\\' symbol in source string
std::string::size_type found = absolutePath.find_last_of("/\\");
if(found != std::string::npos)
......
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