Fixed the code so it compiles on windows.

This commit is contained in:
Davis King 2011-06-19 13:11:21 -04:00
parent 19c6106a65
commit b090ef89ef
1 changed files with 1 additions and 1 deletions

View File

@ -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 + "'");
}
}