mirror of
https://github.com/cemu-project/vcpkg.git
synced 2025-02-23 19:17:10 +01:00
Use exit_fail() internally
This commit is contained in:
parent
aa33a8425f
commit
79830d3cac
@ -33,8 +33,7 @@ namespace vcpkg::Checks
|
||||
__declspec(noreturn) void exit_with_message(const LineInfo& line_info, const char* errorMessage)
|
||||
{
|
||||
System::println(System::color::error, errorMessage);
|
||||
print_line_info_if_debug(line_info);
|
||||
exit(EXIT_FAILURE);
|
||||
exit_fail(line_info);
|
||||
}
|
||||
|
||||
__declspec(noreturn) void throw_with_message(const LineInfo& line_info, const char* errorMessage)
|
||||
|
Loading…
x
Reference in New Issue
Block a user