Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
OpenDAS
dlib
Commits
b090ef89
"docs/git@developer.sourcefind.cn:OpenDAS/dgl.git" did not exist on "fa05ccb9616c0766bb24e28ee71ab0fa2f8f7952"
Commit
b090ef89
authored
Jun 19, 2011
by
Davis King
Browse files
Fixed the code so it compiles on windows.
parent
19c6106a
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
dlib/misc_api/misc_api_kernel_1.cpp
dlib/misc_api/misc_api_kernel_1.cpp
+1
-1
No files found.
dlib/misc_api/misc_api_kernel_1.cpp
View file @
b090ef89
...
@@ -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
+
"'"
);
}
}
}
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment