Skip to content

Commit

Permalink
removed unnecessary constructors
Browse files Browse the repository at this point in the history
  • Loading branch information
mpetri committed Jul 30, 2013
1 parent 6ada263 commit 239b10d
Showing 1 changed file with 0 additions and 16 deletions.
16 changes: 0 additions & 16 deletions include/sdsl/wt_int.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -734,24 +734,8 @@ class wt_int
value_type _sym, const std::vector<p_t>& r)
: ranges(r) , sym(_sym) , offset(off) , node_size(ns) , level(lvl)
{}

intersect_range_t(intersect_range_t&& ir)
: ranges(std::move(ir.ranges)) ,
sym(ir.sym) , offset(ir.offset) , node_size(ir.node_size) ,
level(ir.level) {}

intersect_range_t(size_type off,size_type ns,size_type lvl,value_type _sym)
: sym(_sym) , offset(off) , node_size(ns) , level(lvl) {}

intersect_range_t& operator=(const intersect_range_t& ir) {
ranges = ir.ranges;
sym = ir.sym;
offset = ir.offset;
node_size = ir.node_size;
level = ir.level;
return *this;
}

public:
std::vector<p_t> ranges;
value_type sym = 0;
Expand Down

0 comments on commit 239b10d

Please sign in to comment.