aboutsummaryrefslogtreecommitdiffstats
path: root/library
diff options
context:
space:
mode:
authorsnusmumrik <snusmumrik@yandex-team.ru>2022-02-10 16:50:37 +0300
committerDaniil Cherednik <dcherednik@yandex-team.ru>2022-02-10 16:50:37 +0300
commit82866fec9f72e622e937a34f2acc7f087e336cbb (patch)
tree165cd57cff3293a4f3f1489051df55cc632ce347 /library
parentf5adc48f207b2a0e660881efd443f304cc1536ff (diff)
downloadydb-82866fec9f72e622e937a34f2acc7f087e336cbb.tar.gz
Restoring authorship annotation for <snusmumrik@yandex-team.ru>. Commit 1 of 2.
Diffstat (limited to 'library')
-rw-r--r--library/cpp/containers/sorted_vector/sorted_vector.h24
1 files changed, 12 insertions, 12 deletions
diff --git a/library/cpp/containers/sorted_vector/sorted_vector.h b/library/cpp/containers/sorted_vector/sorted_vector.h
index 123539af9e..81143e9eae 100644
--- a/library/cpp/containers/sorted_vector/sorted_vector.h
+++ b/library/cpp/containers/sorted_vector/sorted_vector.h
@@ -355,12 +355,12 @@ namespace NSorted {
TBase::MakeUnique();
}
- inline TSimpleMap(std::initializer_list<value_type> il)
- : TBase(il)
- {
- TBase::MakeUnique();
- }
-
+ inline TSimpleMap(std::initializer_list<value_type> il)
+ : TBase(il)
+ {
+ TBase::MakeUnique();
+ }
+
inline TValueType& Get(const TKeyType& key) {
typename TBase::iterator i = TBase::LowerBound(key);
if (i == TBase::end() || key != i->first)
@@ -427,12 +427,12 @@ namespace NSorted {
TBase::MakeUnique();
}
- inline TSimpleSet(std::initializer_list<value_type> il)
- : TBase(il)
- {
- TBase::MakeUnique();
- }
-
+ inline TSimpleSet(std::initializer_list<value_type> il)
+ : TBase(il)
+ {
+ TBase::MakeUnique();
+ }
+
// The method expects that there is a TValueType(TKeyType) constructor available
inline TValueType& Get(const TKeyType& key) {
typename TBase::iterator i = TBase::LowerBound(key);