aboutsummaryrefslogtreecommitdiffstats
path: root/util/generic/bitmap.h
diff options
context:
space:
mode:
authorAndrey Khalyavin <halyavin@gmail.com>2022-02-10 16:46:29 +0300
committerDaniil Cherednik <dcherednik@yandex-team.ru>2022-02-10 16:46:29 +0300
commitf773626848a7c7456803654292e716b83d69cc12 (patch)
treedb052dfcf9134f492bdbb962cb6c16cea58e1ed3 /util/generic/bitmap.h
parentf43ab775d197d300eb67bd4497632b909cd7c2a5 (diff)
downloadydb-f773626848a7c7456803654292e716b83d69cc12.tar.gz
Restoring authorship annotation for Andrey Khalyavin <halyavin@gmail.com>. Commit 1 of 2.
Diffstat (limited to 'util/generic/bitmap.h')
-rw-r--r--util/generic/bitmap.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/util/generic/bitmap.h b/util/generic/bitmap.h
index f77d182460..8289cf18a8 100644
--- a/util/generic/bitmap.h
+++ b/util/generic/bitmap.h
@@ -315,7 +315,7 @@ public:
using TThis = TBitMapOps<TTraits>;
private:
- static_assert(std::is_unsigned<TChunk>::value, "expect std::is_unsigned<TChunk>::value");
+ static_assert(std::is_unsigned<TChunk>::value, "expect std::is_unsigned<TChunk>::value");
static constexpr size_t BitsPerChunk = 8 * sizeof(TChunk);
static constexpr TChunk ModMask = static_cast<TChunk>(BitsPerChunk - 1);
@@ -567,7 +567,7 @@ public:
template <class TTo>
void Export(size_t pos, TTo& to) const {
- static_assert(std::is_unsigned<TTo>::value, "expect std::is_unsigned<TTo>::value");
+ static_assert(std::is_unsigned<TTo>::value, "expect std::is_unsigned<TTo>::value");
to = 0;
size_t chunkpos = pos >> DivCount;
if (chunkpos >= Mask.GetChunkCapacity())