"docs/git@developer.sourcefind.cn:OpenDAS/dgl.git" did not exist on "fa05ccb9616c0766bb24e28ee71ab0fa2f8f7952"
Commit b090ef89 authored by Davis King's avatar Davis King
Browse files

Fixed the code so it compiles on windows.

parent 19c6106a
...@@ -64,7 +64,7 @@ namespace dlib ...@@ -64,7 +64,7 @@ namespace dlib
auto_mutex lock(cwd_mutex); auto_mutex lock(cwd_mutex);
if (SetCurrentDirectory(new_dir.c_str()) == 0) 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