aboutsummaryrefslogtreecommitdiffstats
path: root/util/generic/bitmap.h
diff options
context:
space:
mode:
authorAndrey Khalyavin <halyavin@gmail.com>2022-02-10 16:46:30 +0300
committerDaniil Cherednik <dcherednik@yandex-team.ru>2022-02-10 16:46:30 +0300
commit4b839d0704ee9be1dabb0310a1f03af24963637b (patch)
tree1a2c5ffcf89eb53ecd79dbc9bc0a195c27404d0c /util/generic/bitmap.h
parentf773626848a7c7456803654292e716b83d69cc12 (diff)
downloadydb-4b839d0704ee9be1dabb0310a1f03af24963637b.tar.gz
Restoring authorship annotation for Andrey Khalyavin <halyavin@gmail.com>. Commit 2 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 8289cf18a8..f77d182460 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())