diff options
author | ponasenko-rs <ponasenko-rs@yandex-team.com> | 2023-09-27 11:22:03 +0300 |
---|---|---|
committer | ponasenko-rs <ponasenko-rs@yandex-team.com> | 2023-09-27 11:38:10 +0300 |
commit | 001b6a9e9453326bbf7c3367d527c13d14971ad2 (patch) | |
tree | 7a2f6742cc02895ff237f787d699b5932c677700 /library/cpp | |
parent | a994bd2eeb85b7fcc5d5e641e337c60929ae03aa (diff) | |
download | ydb-001b6a9e9453326bbf7c3367d527c13d14971ad2.tar.gz |
Small refactoring in TCompactSet.
Diffstat (limited to 'library/cpp')
-rw-r--r-- | library/cpp/yt/small_containers/compact_set-inl.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/library/cpp/yt/small_containers/compact_set-inl.h b/library/cpp/yt/small_containers/compact_set-inl.h index 76bad7ad24..24f74e5101 100644 --- a/library/cpp/yt/small_containers/compact_set-inl.h +++ b/library/cpp/yt/small_containers/compact_set-inl.h @@ -4,7 +4,7 @@ #include "compact_set.h" #endif -#include <library/cpp/yt/assert//assert.h> +#include <library/cpp/yt/assert/assert.h> namespace NYT { @@ -34,7 +34,7 @@ private: , Small(false) { } - template <class TOther> + template <typename TOther> void ConstructFrom(TOther&& rhs) { YT_ASSERT(Small == rhs.Small); @@ -46,7 +46,7 @@ private: } } - template <class TOther> + template <typename TOther> const_iterator& AssignFrom(TOther&& rhs) { if (this == &rhs) { |