mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-11-29 00:19:00 +08:00
[vcpkg] check_exit should accept explicitly-convertible-to-bool
This commit is contained in:
parent
cbc52bc6a4
commit
bf924ce9a6
@ -29,9 +29,9 @@ namespace vcpkg::Checks
|
||||
|
||||
void check_exit(const LineInfo& line_info, bool expression, const CStringView errorMessage);
|
||||
|
||||
template<class Arg1, class... Args>
|
||||
template<class Conditional, class Arg1, class... Args>
|
||||
void check_exit(const LineInfo& line_info,
|
||||
bool expression,
|
||||
Conditional&& expression,
|
||||
const char* errorMessageTemplate,
|
||||
const Arg1 errorMessageArg1,
|
||||
const Args&... errorMessageArgs)
|
||||
|
Loading…
Reference in New Issue
Block a user