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_install.cpp | |
| parent | 66017aa2c3873c95da863077b184529c96c299b8 (diff) | |
| download | vcpkg-392b3a50ead4092ea3688385b492e5455c5f6ced.tar.gz vcpkg-392b3a50ead4092ea3688385b492e5455c5f6ced.zip | |
Use Util::find_if/not()
Diffstat (limited to 'toolsrc/src/commands_install.cpp')
| -rw-r--r-- | toolsrc/src/commands_install.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/toolsrc/src/commands_install.cpp b/toolsrc/src/commands_install.cpp index 31d271141..55b7aaf64 100644 --- a/toolsrc/src/commands_install.cpp +++ b/toolsrc/src/commands_install.cpp @@ -259,7 +259,7 @@ namespace vcpkg::Commands::Install print_plan(install_plan); - const bool has_non_user_requested_packages = std::find_if(install_plan.cbegin(), install_plan.cend(), [](const InstallPlanAction& package)-> bool + const bool has_non_user_requested_packages = Util::find_if(install_plan, [](const InstallPlanAction& package)-> bool { return package.request_type != RequestType::USER_REQUESTED; }) != install_plan.cend(); |
