From 948fd24d47d4b3b7815aaef1686aea00ef3f4288 Mon Sep 17 00:00:00 2001 From: aosipenko <aosipenko@yandex-team.ru> Date: Thu, 10 Feb 2022 16:48:08 +0300 Subject: Restoring authorship annotation for <aosipenko@yandex-team.ru>. Commit 1 of 2. --- util/generic/algorithm.h | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'util/generic/algorithm.h') diff --git a/util/generic/algorithm.h b/util/generic/algorithm.h index badfb88993..88f6e25021 100644 --- a/util/generic/algorithm.h +++ b/util/generic/algorithm.h @@ -337,11 +337,11 @@ void StableSortUniqueBy(C& c, const TGetKey& getKey) { c.erase(UniqueBy(c.begin(), c.end(), getKey), c.end()); } -template <class C, class TValue> -void Erase(C& c, const TValue& value) { - c.erase(std::remove(c.begin(), c.end(), value), c.end()); -} - +template <class C, class TValue> +void Erase(C& c, const TValue& value) { + c.erase(std::remove(c.begin(), c.end(), value), c.end()); +} + template <class C, class P> void EraseIf(C& c, P p) { c.erase(std::remove_if(c.begin(), c.end(), p), c.end()); -- cgit v1.2.3