aboutsummaryrefslogtreecommitdiffstats
path: root/util/generic/array_ref.h
diff options
context:
space:
mode:
authorbreakneck <breakneck@yandex-team.ru>2022-02-10 16:47:58 +0300
committerDaniil Cherednik <dcherednik@yandex-team.ru>2022-02-10 16:47:58 +0300
commitf860932520ce9bc8540a3c19e84c0109c3437dc5 (patch)
treec0748b5dcbade83af788c0abfa89c0383d6b779c /util/generic/array_ref.h
parente2021f9a0e54d13b7c48796318b13b66dc625e74 (diff)
downloadydb-f860932520ce9bc8540a3c19e84c0109c3437dc5.tar.gz
Restoring authorship annotation for <breakneck@yandex-team.ru>. Commit 2 of 2.
Diffstat (limited to 'util/generic/array_ref.h')
-rw-r--r--util/generic/array_ref.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/util/generic/array_ref.h b/util/generic/array_ref.h
index 7ba6fc71bf..1ac60ac7d3 100644
--- a/util/generic/array_ref.h
+++ b/util/generic/array_ref.h
@@ -72,7 +72,7 @@ public:
, S_(N)
{
}
-
+
template <class TT, typename = std::enable_if_t<std::is_same<std::remove_const_t<T>, std::remove_const_t<TT>>::value>>
bool operator==(const TArrayRef<TT>& other) const noexcept {
return (S_ == other.size()) && std::equal(begin(), end(), other.begin());