aboutsummaryrefslogtreecommitdiffstats
path: root/util/generic/bitmap.h
diff options
context:
space:
mode:
authorthegeorg <thegeorg@yandex-team.ru>2022-04-14 10:51:58 +0300
committerthegeorg <thegeorg@yandex-team.ru>2022-04-14 10:51:58 +0300
commit903697f538e65f1c283607ea08bdddc10a9e1cde (patch)
tree3cc205d893fc5829bb827bc75066cf1f689f867a /util/generic/bitmap.h
parent294e096403e4199169b25f935cb11b0b5933d381 (diff)
downloadydb-903697f538e65f1c283607ea08bdddc10a9e1cde.tar.gz
Fix -Wdeprecated-copy errors detected by clang14
ref:7b522d0dad8f0d64dd508e61325124ea9d2ebf30
Diffstat (limited to 'util/generic/bitmap.h')
-rw-r--r--util/generic/bitmap.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/util/generic/bitmap.h b/util/generic/bitmap.h
index f77d1824607..18a153bc5fd 100644
--- a/util/generic/bitmap.h
+++ b/util/generic/bitmap.h
@@ -1093,7 +1093,8 @@ public:
{
}
- TBitMap(const TBitMap<BitCount, TChunkType>&) = default;
+ TBitMap(const TBitMap&) = default;
+ TBitMap& operator=(const TBitMap&) = default;
template <class T>
TBitMap(const TBitMapOps<T>& bitmap)