diff options
author | pozhilov <pozhilov@yandex-team.ru> | 2022-02-10 16:49:27 +0300 |
---|---|---|
committer | Daniil Cherednik <dcherednik@yandex-team.ru> | 2022-02-10 16:49:27 +0300 |
commit | 29b120fd551ad11a832424491fa992809feb3e99 (patch) | |
tree | 5d5cb817648f650d76cf1076100726fd9b8448e8 /util/generic/ylimits.h | |
parent | 23bf1d16dddf213a6aa8e8d5c8621e1242a1f118 (diff) | |
download | ydb-29b120fd551ad11a832424491fa992809feb3e99.tar.gz |
Restoring authorship annotation for <pozhilov@yandex-team.ru>. Commit 2 of 2.
Diffstat (limited to 'util/generic/ylimits.h')
-rw-r--r-- | util/generic/ylimits.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/util/generic/ylimits.h b/util/generic/ylimits.h index 46c6cd5ed5..fe42b4dfc0 100644 --- a/util/generic/ylimits.h +++ b/util/generic/ylimits.h @@ -19,14 +19,14 @@ static constexpr T Min() noexcept { namespace NPrivate { struct TMax { template <class T> - constexpr operator T() const { + constexpr operator T() const { return Max<T>(); } }; struct TMin { template <class T> - constexpr operator T() const { + constexpr operator T() const { return Min<T>(); } }; |