aboutsummaryrefslogtreecommitdiffstats
path: root/library/cpp/containers/stack_array/range_ops.h
diff options
context:
space:
mode:
authorVlad Yaroslavlev <vladon@vladon.com>2022-02-10 16:46:25 +0300
committerDaniil Cherednik <dcherednik@yandex-team.ru>2022-02-10 16:46:25 +0300
commit344ea37b4a345701ab0e67de2266a1c1bd7baf2d (patch)
tree1a2c5ffcf89eb53ecd79dbc9bc0a195c27404d0c /library/cpp/containers/stack_array/range_ops.h
parent706b83ed7de5a473436620367af31fc0ceecde07 (diff)
downloadydb-344ea37b4a345701ab0e67de2266a1c1bd7baf2d.tar.gz
Restoring authorship annotation for Vlad Yaroslavlev <vladon@vladon.com>. Commit 2 of 2.
Diffstat (limited to 'library/cpp/containers/stack_array/range_ops.h')
-rw-r--r--library/cpp/containers/stack_array/range_ops.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/library/cpp/containers/stack_array/range_ops.h b/library/cpp/containers/stack_array/range_ops.h
index 7b61b15758..1d40341aa1 100644
--- a/library/cpp/containers/stack_array/range_ops.h
+++ b/library/cpp/containers/stack_array/range_ops.h
@@ -7,7 +7,7 @@
namespace NRangeOps {
template <class T, bool isTrivial>
struct TRangeOpsBase {
- static inline void DestroyRange(T* b, T* e) noexcept {
+ static inline void DestroyRange(T* b, T* e) noexcept {
while (e > b) {
(--e)->~T();
}
@@ -30,10 +30,10 @@ namespace NRangeOps {
template <class T>
struct TRangeOpsBase<T, true> {
- static inline void DestroyRange(T*, T*) noexcept {
+ static inline void DestroyRange(T*, T*) noexcept {
}
- static inline void InitializeRange(T*, T*) noexcept {
+ static inline void InitializeRange(T*, T*) noexcept {
}
};
@@ -41,7 +41,7 @@ namespace NRangeOps {
using TRangeOps = TRangeOpsBase<T, TTypeTraits<T>::IsPod>;
template <class T>
- static inline void DestroyRange(T* b, T* e) noexcept {
+ static inline void DestroyRange(T* b, T* e) noexcept {
TRangeOps<T>::DestroyRange(b, e);
}