mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-11-25 10:49:01 +08:00
Change check_throw() to check_exit()
This commit is contained in:
parent
31ddf1a803
commit
2a246f26af
@ -8,7 +8,7 @@ namespace vcpkg::Sets
|
||||
template <typename T, typename Container>
|
||||
void remove_all(std::unordered_set<T>* input_set, Container remove_these)
|
||||
{
|
||||
Checks::check_throw(input_set != nullptr, "Input set cannot be null");
|
||||
Checks::check_exit(input_set != nullptr, "Input set cannot be null");
|
||||
for (const T& r : remove_these)
|
||||
{
|
||||
input_set->erase(r);
|
||||
|
Loading…
Reference in New Issue
Block a user