Skip to content

Commit

Permalink
fix move constructor's missing member initializations
Browse files Browse the repository at this point in the history
  • Loading branch information
hurchalla committed May 31, 2024
1 parent 898d68f commit c2746dd
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion include/hurchalla/util/detail/ImplBitpackedUintVector.h
Original file line number Diff line number Diff line change
Expand Up @@ -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),
Expand Down

0 comments on commit c2746dd

Please sign in to comment.