diff options
author | grand <grand@yandex-team.ru> | 2022-02-10 16:50:07 +0300 |
---|---|---|
committer | Daniil Cherednik <dcherednik@yandex-team.ru> | 2022-02-10 16:50:07 +0300 |
commit | a0e29f0026d32a60a618a620f30035c264346175 (patch) | |
tree | 5d5cb817648f650d76cf1076100726fd9b8448e8 /library/cpp/containers | |
parent | 7eb3862cccdb866e7e739123c8024ccec628bb62 (diff) | |
download | ydb-a0e29f0026d32a60a618a620f30035c264346175.tar.gz |
Restoring authorship annotation for <grand@yandex-team.ru>. Commit 2 of 2.
Diffstat (limited to 'library/cpp/containers')
-rw-r--r-- | library/cpp/containers/comptrie/comptrie_ut.cpp | 2 | ||||
-rw-r--r-- | library/cpp/containers/sorted_vector/sorted_vector.h | 28 |
2 files changed, 15 insertions, 15 deletions
diff --git a/library/cpp/containers/comptrie/comptrie_ut.cpp b/library/cpp/containers/comptrie/comptrie_ut.cpp index a133a6faac2..74bee09b5d6 100644 --- a/library/cpp/containers/comptrie/comptrie_ut.cpp +++ b/library/cpp/containers/comptrie/comptrie_ut.cpp @@ -1039,7 +1039,7 @@ public: typedef T TData; static TData Data(const TString&) { - return RandomNumber<std::make_unsigned_t<T>>(); + return RandomNumber<std::make_unsigned_t<T>>(); } }; diff --git a/library/cpp/containers/sorted_vector/sorted_vector.h b/library/cpp/containers/sorted_vector/sorted_vector.h index cf349875e98..123539af9e2 100644 --- a/library/cpp/containers/sorted_vector/sorted_vector.h +++ b/library/cpp/containers/sorted_vector/sorted_vector.h @@ -8,8 +8,8 @@ #include <util/ysaveload.h> #include <utility> -#include <initializer_list> - +#include <initializer_list> + namespace NSorted { namespace NPrivate { template <class TPredicate> @@ -80,18 +80,18 @@ namespace NSorted { { } - inline TSortedVector(std::initializer_list<value_type> il) - : TBase(il) - { - Sort(); - } - - inline TSortedVector(std::initializer_list<value_type> il, const typename TBase::allocator_type& a) - : TBase(il, a) - { - Sort(); - } - + inline TSortedVector(std::initializer_list<value_type> il) + : TBase(il) + { + Sort(); + } + + inline TSortedVector(std::initializer_list<value_type> il, const typename TBase::allocator_type& a) + : TBase(il, a) + { + Sort(); + } + template <class TIter> inline TSortedVector(TIter first, TIter last) : TBase(first, last) |