diff options
author | gulin <gulin@yandex-team.ru> | 2022-02-10 16:47:32 +0300 |
---|---|---|
committer | Daniil Cherednik <dcherednik@yandex-team.ru> | 2022-02-10 16:47:32 +0300 |
commit | 7199613d295246a07c2f7b331fbb3128936039dc (patch) | |
tree | c0748b5dcbade83af788c0abfa89c0383d6b779c /library/cpp/containers | |
parent | c807aae441c17fc7f577c35757a4b6e0bd909802 (diff) | |
download | ydb-7199613d295246a07c2f7b331fbb3128936039dc.tar.gz |
Restoring authorship annotation for <gulin@yandex-team.ru>. Commit 2 of 2.
Diffstat (limited to 'library/cpp/containers')
-rw-r--r-- | library/cpp/containers/2d_array/2d_array.cpp | 2 | ||||
-rw-r--r-- | library/cpp/containers/2d_array/2d_array.h | 6 | ||||
-rw-r--r-- | library/cpp/containers/2d_array/ya.make | 14 | ||||
-rw-r--r-- | library/cpp/containers/atomizer/atomizer.h | 4 |
4 files changed, 13 insertions, 13 deletions
diff --git a/library/cpp/containers/2d_array/2d_array.cpp b/library/cpp/containers/2d_array/2d_array.cpp index 7f3bc84281..03115c7e2f 100644 --- a/library/cpp/containers/2d_array/2d_array.cpp +++ b/library/cpp/containers/2d_array/2d_array.cpp @@ -1 +1 @@ -#include "2d_array.h" +#include "2d_array.h" diff --git a/library/cpp/containers/2d_array/2d_array.h b/library/cpp/containers/2d_array/2d_array.h index 7fa4f83133..9e24650637 100644 --- a/library/cpp/containers/2d_array/2d_array.h +++ b/library/cpp/containers/2d_array/2d_array.h @@ -1,6 +1,6 @@ #pragma once -#include <util/system/yassert.h> +#include <util/system/yassert.h> #include <util/generic/algorithm.h> #ifdef _DEBUG @@ -77,12 +77,12 @@ public: } #ifdef _DEBUG TBoundCheck<T> operator[](size_t i) const { - Y_ASSERT(i < YSize); + Y_ASSERT(i < YSize); return TBoundCheck<T>(PData[i], XSize); } #else T* operator[](size_t i) const { - Y_ASSERT(i < YSize); + Y_ASSERT(i < YSize); return PData[i]; } #endif diff --git a/library/cpp/containers/2d_array/ya.make b/library/cpp/containers/2d_array/ya.make index c30dcf77b3..71d56b902f 100644 --- a/library/cpp/containers/2d_array/ya.make +++ b/library/cpp/containers/2d_array/ya.make @@ -1,9 +1,9 @@ -LIBRARY() - +LIBRARY() + OWNER(kirillovs) -SRCS( - 2d_array.cpp -) - -END() +SRCS( + 2d_array.cpp +) + +END() diff --git a/library/cpp/containers/atomizer/atomizer.h b/library/cpp/containers/atomizer/atomizer.h index 475abd7a71..5e40f47ab9 100644 --- a/library/cpp/containers/atomizer/atomizer.h +++ b/library/cpp/containers/atomizer/atomizer.h @@ -53,7 +53,7 @@ public: *ptr += pool.Begin() - old_begin; order.push_back((*ins.first).first); // copy of 'key' } - return (ui32)(*ins.first).second; + return (ui32)(*ins.first).second; } ui32 perm_string_to_atom(const char* key) { @@ -68,7 +68,7 @@ public: if (it == end()) return 0; // INVALID_ATOM else - return (ui32)(*it).second; + return (ui32)(*it).second; } const char* get_atom_name(ui32 atom) const { if (atom && atom <= size()) |