Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
karasikov committed Jan 23, 2023
1 parent 9afff08 commit 2a82408
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion include/sdsl/int_vector.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -1214,7 +1214,7 @@ inline int_vector<t_width>::int_vector(size_type size, value_type default_value,

template<uint8_t t_width>
inline int_vector<t_width>::int_vector(int_vector&& v) noexcept :
m_size(v.m_size), m_data(v.m_data), m_width(v.m_width)
m_size(v.m_size), m_data(v.m_data), m_width(v.m_width), m_mmap_context(std::move(v.m_mmap_context))
{
v.m_data = nullptr; // ownership of v.m_data now transferred
v.m_size = 0;
Expand Down

0 comments on commit 2a82408

Please sign in to comment.