diff options
| author | Oleg Sidorkin <[email protected]> | 2022-02-10 16:49:36 +0300 | 
|---|---|---|
| committer | Daniil Cherednik <[email protected]> | 2022-02-10 16:49:36 +0300 | 
| commit | f8f6804a3e352897afabc93afcb32081e3fca601 (patch) | |
| tree | 5d5cb817648f650d76cf1076100726fd9b8448e8 /util/generic/algorithm.h | |
| parent | 5ce74d4fee2d42a4b86efc02dfdc704d458760e1 (diff) | |
Restoring authorship annotation for Oleg Sidorkin <[email protected]>. Commit 2 of 2.
Diffstat (limited to 'util/generic/algorithm.h')
| -rw-r--r-- | util/generic/algorithm.h | 8 | 
1 files changed, 4 insertions, 4 deletions
diff --git a/util/generic/algorithm.h b/util/generic/algorithm.h index da68f2d8ebe..badfb889933 100644 --- a/util/generic/algorithm.h +++ b/util/generic/algorithm.h @@ -316,25 +316,25 @@ static inline T UniqueBy(T f, T l, const TGetKey& getKey) {  template <class C>  void SortUnique(C& c) {      Sort(c.begin(), c.end()); -    c.erase(Unique(c.begin(), c.end()), c.end());  +    c.erase(Unique(c.begin(), c.end()), c.end());  }  template <class C, class Cmp>  void SortUnique(C& c, Cmp cmp) {      Sort(c.begin(), c.end(), cmp); -    c.erase(Unique(c.begin(), c.end()), c.end());  +    c.erase(Unique(c.begin(), c.end()), c.end());  }  template <class C, class TGetKey>  void SortUniqueBy(C& c, const TGetKey& getKey) {      SortBy(c, getKey); -    c.erase(UniqueBy(c.begin(), c.end(), getKey), c.end());  +    c.erase(UniqueBy(c.begin(), c.end(), getKey), c.end());  }  template <class C, class TGetKey>  void StableSortUniqueBy(C& c, const TGetKey& getKey) {      StableSortBy(c, getKey); -    c.erase(UniqueBy(c.begin(), c.end(), getKey), c.end());  +    c.erase(UniqueBy(c.begin(), c.end(), getKey), c.end());  }  template <class C, class TValue>  | 
