From c2746dde76db41e926191419128063353c95f2fc Mon Sep 17 00:00:00 2001 From: hurchalla Date: Fri, 31 May 2024 13:13:16 -0700 Subject: [PATCH] fix move constructor's missing member initializations --- include/hurchalla/util/detail/ImplBitpackedUintVector.h | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/include/hurchalla/util/detail/ImplBitpackedUintVector.h b/include/hurchalla/util/detail/ImplBitpackedUintVector.h index 72f0b50..35b774d 100644 --- a/include/hurchalla/util/detail/ImplBitpackedUintVector.h +++ b/include/hurchalla/util/detail/ImplBitpackedUintVector.h @@ -44,7 +44,10 @@ struct ImplBitpackedUintVector public: ImplBitpackedUintVector(const ImplBitpackedUintVector&) = delete; ImplBitpackedUintVector(ImplBitpackedUintVector&& other) : - vec8(std::move(other.vec8)) {} + packed_count(other.packed_count), + vec8_bytes(other.vec8_bytes), + vec8(std::move(other.vec8)) + {} ImplBitpackedUintVector(size_type count) : packed_count(count),