diff options
| author | Alexander Karatarakis <alkarata@microsoft.com> | 2017-04-13 18:02:04 -0700 |
|---|---|---|
| committer | Alexander Karatarakis <alkarata@microsoft.com> | 2017-04-14 14:31:45 -0700 |
| commit | 392b3a50ead4092ea3688385b492e5455c5f6ced (patch) | |
| tree | c4bc6a563517694243ded3ef2c45c9a3eda7a101 /toolsrc/src/commands_remove.cpp | |
| parent | 66017aa2c3873c95da863077b184529c96c299b8 (diff) | |
| download | vcpkg-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.cpp | 2 |
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(); |
