diff options
author | Andrey Khalyavin <halyavin@gmail.com> | 2022-02-10 16:46:29 +0300 |
---|---|---|
committer | Daniil Cherednik <dcherednik@yandex-team.ru> | 2022-02-10 16:46:29 +0300 |
commit | f773626848a7c7456803654292e716b83d69cc12 (patch) | |
tree | db052dfcf9134f492bdbb962cb6c16cea58e1ed3 /library/cpp/deprecated/accessors/memory_traits.h | |
parent | f43ab775d197d300eb67bd4497632b909cd7c2a5 (diff) | |
download | ydb-f773626848a7c7456803654292e716b83d69cc12.tar.gz |
Restoring authorship annotation for Andrey Khalyavin <halyavin@gmail.com>. Commit 1 of 2.
Diffstat (limited to 'library/cpp/deprecated/accessors/memory_traits.h')
-rw-r--r-- | library/cpp/deprecated/accessors/memory_traits.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/library/cpp/deprecated/accessors/memory_traits.h b/library/cpp/deprecated/accessors/memory_traits.h index aa837705d3..f4e88f042b 100644 --- a/library/cpp/deprecated/accessors/memory_traits.h +++ b/library/cpp/deprecated/accessors/memory_traits.h @@ -9,14 +9,14 @@ #include <util/generic/vector.h> #include <util/generic/typetraits.h> -#include <array> +#include <array> #include <string> -#include <utility> +#include <utility> template <typename T> struct TMemoryTraits { enum { - SimpleMemory = std::is_arithmetic<T>::value, + SimpleMemory = std::is_arithmetic<T>::value, ContinuousMemory = SimpleMemory, OwnsMemory = SimpleMemory, }; @@ -36,7 +36,7 @@ struct TMemoryTraits<T[n]> { }; template <typename T, size_t n> -struct TMemoryTraits<std::array<T, n>> { +struct TMemoryTraits<std::array<T, n>> { enum { SimpleMemory = TMemoryTraits<T>::SimpleMemory, ContinuousMemory = SimpleMemory, |