Skip to content

Commit

Permalink
removed redundant copy assignment operator
Browse files Browse the repository at this point in the history
  • Loading branch information
karasikov committed Jul 6, 2021
1 parent d78193d commit 4858a43
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions include/sdsl/rrr_vector.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -520,14 +520,6 @@ class rank_support_rrr
m_v = v;
}

rank_support_rrr& operator=(const rank_support_rrr& rs)
{
if (this != &rs) {
set_vector(rs.m_v);
}
return *this;
}

void swap(rank_support_rrr&) { }

//! Load the data structure from a stream and set the supported vector.
Expand Down

0 comments on commit 4858a43

Please sign in to comment.