diff options
author | ExMix <rahuba.youri@mapswithme.com> | 2014-05-13 14:31:41 +0400 |
---|---|---|
committer | Alex Zolotarev <alex@maps.me> | 2015-09-23 02:15:35 +0300 |
commit | 369d5da2473f4d4c3de6fb3feb0907eab54fd41d (patch) | |
tree | 65a6748a22fb49c9c4f85c1d3add90baba06a7da /base/stl_add.hpp | |
parent | 6b4563e0d0a2df0b5d89378706c8407c390d1327 (diff) |
[core] new way of bookmark, search results and api points store
Diffstat (limited to 'base/stl_add.hpp')
-rw-r--r-- | base/stl_add.hpp | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/base/stl_add.hpp b/base/stl_add.hpp index 95e4430483..c749e2fc65 100644 --- a/base/stl_add.hpp +++ b/base/stl_add.hpp @@ -139,6 +139,12 @@ GetRangeDeletor(TContainer & cont, TDeletor const & deletor) return impl::DeleteRangeFunctor<TContainer, TDeletor>(cont, deletor); } +template <class TContainer, class TDeletor> +void DeleteRange(TContainer & cont, TDeletor const & deletor) +{ + (void)GetRangeDeletor(cont, deletor)(); +} + struct NoopFunctor { template <typename T> void operator () (T const &) const |