aboutsummaryrefslogtreecommitdiffstats
path: root/util/generic/is_in.h
diff options
context:
space:
mode:
authoryazevnul <yazevnul@yandex-team.ru>2022-02-10 16:46:48 +0300
committerDaniil Cherednik <dcherednik@yandex-team.ru>2022-02-10 16:46:48 +0300
commit9abfb1a53b7f7b791444d1378e645d8fad9b06ed (patch)
tree49e222ea1c5804306084bb3ae065bb702625360f /util/generic/is_in.h
parent8cbc307de0221f84c80c42dcbe07d40727537e2c (diff)
downloadydb-9abfb1a53b7f7b791444d1378e645d8fad9b06ed.tar.gz
Restoring authorship annotation for <yazevnul@yandex-team.ru>. Commit 2 of 2.
Diffstat (limited to 'util/generic/is_in.h')
-rw-r--r--util/generic/is_in.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/util/generic/is_in.h b/util/generic/is_in.h
index acfd5ec350..4f175ea5eb 100644
--- a/util/generic/is_in.h
+++ b/util/generic/is_in.h
@@ -12,9 +12,9 @@ template <class C, class T>
static inline bool IsIn(const C& c, const T& e);
namespace NIsInHelper {
- Y_HAS_MEMBER(find, FindMethod);
- Y_HAS_SUBTYPE(const_iterator, ConstIterator);
- Y_HAS_SUBTYPE(key_type, KeyType);
+ Y_HAS_MEMBER(find, FindMethod);
+ Y_HAS_SUBTYPE(const_iterator, ConstIterator);
+ Y_HAS_SUBTYPE(key_type, KeyType);
template <class T>
using TIsAssocCont = TConjunction<THasFindMethod<T>, THasConstIterator<T>, THasKeyType<T>>;
@@ -44,7 +44,7 @@ static inline bool IsIn(I f, I l, const T& v) {
template <class C, class T>
static inline bool IsIn(const C& c, const T& e) {
using namespace NIsInHelper;
- return TIsInTraits<C, T, TIsAssocCont<C>::value>::IsIn(c, e);
+ return TIsInTraits<C, T, TIsAssocCont<C>::value>::IsIn(c, e);
}
template <class T, class U>