diff options
author | thegeorg <thegeorg@yandex-team.ru> | 2022-04-14 10:51:58 +0300 |
---|---|---|
committer | thegeorg <thegeorg@yandex-team.ru> | 2022-04-14 10:51:58 +0300 |
commit | 903697f538e65f1c283607ea08bdddc10a9e1cde (patch) | |
tree | 3cc205d893fc5829bb827bc75066cf1f689f867a | |
parent | 294e096403e4199169b25f935cb11b0b5933d381 (diff) | |
download | ydb-903697f538e65f1c283607ea08bdddc10a9e1cde.tar.gz |
Fix -Wdeprecated-copy errors detected by clang14
ref:7b522d0dad8f0d64dd508e61325124ea9d2ebf30
-rw-r--r-- | library/cpp/yt/misc/guid.h | 1 | ||||
-rw-r--r-- | util/generic/bitmap.h | 3 |
2 files changed, 3 insertions, 1 deletions
diff --git a/library/cpp/yt/misc/guid.h b/library/cpp/yt/misc/guid.h index ec4ba3526af..1257a57dcfe 100644 --- a/library/cpp/yt/misc/guid.h +++ b/library/cpp/yt/misc/guid.h @@ -55,6 +55,7 @@ struct TGuid //! Copies an existing guid. TGuid(const TGuid& other) = default; + TGuid& operator=(const TGuid& other) = default; //! Checks if TGuid is zero. bool IsEmpty() const; 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) |