diff options
| author | Alexander Karatarakis <alkarata@microsoft.com> | 2017-03-22 17:43:49 -0700 |
|---|---|---|
| committer | Alexander Karatarakis <alkarata@microsoft.com> | 2017-03-22 17:44:01 -0700 |
| commit | 27bc6060203b5232bfb3b022b08ef66f64fb3ba9 (patch) | |
| tree | 1198a20b186ef8e1715c68293e070ea343363579 | |
| parent | 79830d3cacc9f13c52a24186be7678e2f1867038 (diff) | |
| download | vcpkg-27bc6060203b5232bfb3b022b08ef66f64fb3ba9.tar.gz vcpkg-27bc6060203b5232bfb3b022b08ef66f64fb3ba9.zip | |
exit() -> ::exit()
| -rw-r--r-- | toolsrc/src/vcpkg_Checks.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/toolsrc/src/vcpkg_Checks.cpp b/toolsrc/src/vcpkg_Checks.cpp index d49cbe8e5..7e0255d53 100644 --- a/toolsrc/src/vcpkg_Checks.cpp +++ b/toolsrc/src/vcpkg_Checks.cpp @@ -20,14 +20,14 @@ namespace vcpkg::Checks #ifndef NDEBUG std::abort(); #else - exit(EXIT_FAILURE); + ::exit(EXIT_FAILURE); #endif } void exit_with_code(const LineInfo& line_info, const int exit_code) { print_line_info_if_debug(line_info); - exit(exit_code); + ::exit(exit_code); } __declspec(noreturn) void exit_with_message(const LineInfo& line_info, const char* errorMessage) |
