aboutsummaryrefslogtreecommitdiff
path: root/toolsrc/include
diff options
context:
space:
mode:
authorAlexander Karatarakis <alkarata@microsoft.com>2017-04-13 15:37:24 -0700
committerAlexander Karatarakis <alkarata@microsoft.com>2017-04-13 15:37:24 -0700
commit294159bfd1a25fbffac8051bdf76f2cb88add0fd (patch)
treeb77e0a0ee39f6ce597eead8039c9f7d11a39295f /toolsrc/include
parentd193dae2ce68eaa5e3c35d0882091b1ceaf6d82b (diff)
downloadvcpkg-294159bfd1a25fbffac8051bdf76f2cb88add0fd.tar.gz
vcpkg-294159bfd1a25fbffac8051bdf76f2cb88add0fd.zip
keep_if (wrong name) renamed to erase_remove_if
Diffstat (limited to 'toolsrc/include')
-rw-r--r--toolsrc/include/vcpkg_Util.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/toolsrc/include/vcpkg_Util.h b/toolsrc/include/vcpkg_Util.h
index fedf93c7a..06cac21ad 100644
--- a/toolsrc/include/vcpkg_Util.h
+++ b/toolsrc/include/vcpkg_Util.h
@@ -23,7 +23,7 @@ namespace vcpkg::Util
}
template<class Container, class Pred>
- void keep_if(Container& cont, Pred pred)
+ void erase_remove_if(Container& cont, Pred pred)
{
cont.erase(std::remove_if(cont.begin(), cont.end(), pred), cont.end());
}