Commit b090ef89 authored by Davis King's avatar Davis King

Fixed the code so it compiles on windows.

parent 19c6106a
......@@ -64,7 +64,7 @@ namespace dlib
auto_mutex lock(cwd_mutex);
if (SetCurrentDirectory(new_dir.c_str()) == 0)
{
throw set_current_dir_error("Error changing current dir to '" + new_dir + "'" + GetLastError());
throw set_current_dir_error("Error changing current dir to '" + new_dir + "'");
}
}
......
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