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 | 5ce74d4fee2d42a4b86efc02dfdc704d458760e1 (patch) | |
| tree | f16a3558ca40d453a1c6a2ed764bd75d64cffade /util/generic/algorithm.h | |
| parent | cd33f9aa8461f8e2b0b9e68efbb6bc9856197dc9 (diff) | |
Restoring authorship annotation for Oleg Sidorkin <[email protected]>. Commit 1 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 badfb889933..da68f2d8ebe 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>  | 
