Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions include/interval-tree/interval_tree.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -194,7 +194,7 @@ namespace lib_interval_tree
typename interval_type_ = interval<numerical_type, closed>>
class node
{
private:
protected:
using node_type = node<numerical_type, interval_type_>;

public:
Expand Down Expand Up @@ -226,7 +226,7 @@ namespace lib_interval_tree
, color_{rb_color::fail}
{}

~node()
virtual ~node()
{}

interval_type const* interval() const
Expand Down Expand Up @@ -314,7 +314,7 @@ namespace lib_interval_tree
return interval_.high();
}

private:
protected:
void set_interval(interval_type const& ival)
{
interval_ = ival;
Expand All @@ -335,7 +335,7 @@ namespace lib_interval_tree
}
}

private:
protected:
interval_type interval_;
value_type max_;
node* parent_;
Expand Down