projects
/
oota-llvm.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
really fix the windows build.
[oota-llvm.git]
/
utils
/
KillTheDoctor
/
KillTheDoctor.cpp
diff --git
a/utils/KillTheDoctor/KillTheDoctor.cpp
b/utils/KillTheDoctor/KillTheDoctor.cpp
index feba2e54f6a5fb20f8c7367e07e06eb137a80593..a0d314bf10a20710de7090ead6092cc3e051f804 100644
(file)
--- a/
utils/KillTheDoctor/KillTheDoctor.cpp
+++ b/
utils/KillTheDoctor/KillTheDoctor.cpp
@@
-210,7
+210,7
@@
static error_code GetFileNameFromHandle(HANDLE FileHandle,
return windows_error(::GetLastError());
else {
Name = Filename;
- return
windows_error::success
;
+ return
error_code()
;
}
}
@@
-249,7
+249,7
@@
static std::string FindProgram(const std::string &Program, error_code &ec) {
break;
} else {
// We found the path! Return it.
- ec =
windows_error::success
;
+ ec =
error_code()
;
break;
}
}