Change check_throw() to check_exit()

This commit is contained in:
Alexander Karatarakis 2017-01-25 19:38:14 -08:00
parent 31ddf1a803
commit 2a246f26af

View File

@ -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);