WSL/SLF GitLab Repository

Commit b7ccdbd1 authored by Mathias Bavay's avatar Mathias Bavay
Browse files

fixed a typo preventing compilation under Windows

parent 8c245ce8
......@@ -156,7 +156,7 @@ std::string getCWD()
const DWORD status = GetCurrentDirectoryA(sizeof(buffer), buffer);
if (status==0 || status>MAX_PATH) throw IOException("Can not get current working directory", AT);
return std::string cwd( buffer );
return std::string( buffer );
bool fileExists(const std::string& filename)
Supports Markdown
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