diff options
| author | tender-bum <[email protected]> | 2022-02-10 16:50:01 +0300 |
|---|---|---|
| committer | Daniil Cherednik <[email protected]> | 2022-02-10 16:50:01 +0300 |
| commit | 4aef354b224559d2b031487a10d4f5cc6e82e95a (patch) | |
| tree | 5d5cb817648f650d76cf1076100726fd9b8448e8 /library/cpp/containers/sorted_vector | |
| parent | c78b06a63de7beec995c1007bc5332bdf3d75b69 (diff) | |
Restoring authorship annotation for <[email protected]>. Commit 2 of 2.
Diffstat (limited to 'library/cpp/containers/sorted_vector')
| -rw-r--r-- | library/cpp/containers/sorted_vector/sorted_vector.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/library/cpp/containers/sorted_vector/sorted_vector.h b/library/cpp/containers/sorted_vector/sorted_vector.h index 28beeb2b09d..123539af9e2 100644 --- a/library/cpp/containers/sorted_vector/sorted_vector.h +++ b/library/cpp/containers/sorted_vector/sorted_vector.h @@ -13,7 +13,7 @@ namespace NSorted { namespace NPrivate { template <class TPredicate> - struct TEqual { + struct TEqual { template<typename TValueType1, typename TValueType2> inline bool operator()(const TValueType1& l, const TValueType2& r) const { TPredicate comp; @@ -22,7 +22,7 @@ namespace NSorted { }; template <typename TValueType, class TPredicate, class TKeyExtractor> - struct TKeyCompare { + struct TKeyCompare { inline bool operator()(const TValueType& l, const TValueType& r) const { TKeyExtractor extractKey; return TPredicate()(extractKey(l), extractKey(r)); |
