aboutsummaryrefslogtreecommitdiff
path: root/toolsrc/src/commands_remove.cpp
diff options
context:
space:
mode:
authorAlexander Karatarakis <alkarata@microsoft.com>2017-04-13 18:02:04 -0700
committerAlexander Karatarakis <alkarata@microsoft.com>2017-04-14 14:31:45 -0700
commit392b3a50ead4092ea3688385b492e5455c5f6ced (patch)
treec4bc6a563517694243ded3ef2c45c9a3eda7a101 /toolsrc/src/commands_remove.cpp
parent66017aa2c3873c95da863077b184529c96c299b8 (diff)
downloadvcpkg-392b3a50ead4092ea3688385b492e5455c5f6ced.tar.gz
vcpkg-392b3a50ead4092ea3688385b492e5455c5f6ced.zip
Use Util::find_if/not()
Diffstat (limited to 'toolsrc/src/commands_remove.cpp')
-rw-r--r--toolsrc/src/commands_remove.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/toolsrc/src/commands_remove.cpp b/toolsrc/src/commands_remove.cpp
index 52c01f525..bb8297d02 100644
--- a/toolsrc/src/commands_remove.cpp
+++ b/toolsrc/src/commands_remove.cpp
@@ -177,7 +177,7 @@ namespace vcpkg::Commands::Remove
print_plan(remove_plan);
- const bool has_non_user_requested_packages = std::find_if(remove_plan.cbegin(), remove_plan.cend(), [](const RemovePlanAction& package)-> bool
+ const bool has_non_user_requested_packages = Util::find_if(remove_plan, [](const RemovePlanAction& package)-> bool
{
return package.request_type != RequestType::USER_REQUESTED;
}) != remove_plan.cend();