File tree 1 file changed +4
-4
lines changed
1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -194,7 +194,7 @@ namespace lib_interval_tree
194
194
typename interval_type_ = interval<numerical_type, closed>>
195
195
class node
196
196
{
197
- private :
197
+ protected :
198
198
using node_type = node<numerical_type, interval_type_>;
199
199
200
200
public:
@@ -226,7 +226,7 @@ namespace lib_interval_tree
226
226
, color_{rb_color::fail}
227
227
{}
228
228
229
- ~node ()
229
+ virtual ~node ()
230
230
{}
231
231
232
232
interval_type const * interval () const
@@ -314,7 +314,7 @@ namespace lib_interval_tree
314
314
return interval_.high ();
315
315
}
316
316
317
- private :
317
+ protected :
318
318
void set_interval (interval_type const & ival)
319
319
{
320
320
interval_ = ival;
@@ -335,7 +335,7 @@ namespace lib_interval_tree
335
335
}
336
336
}
337
337
338
- private :
338
+ protected :
339
339
interval_type interval_;
340
340
value_type max_;
341
341
node* parent_;
You can’t perform that action at this time.
0 commit comments