Skip to content

Commit

Permalink
Merge pull request stephentu#4 from stephentu/master
Browse files Browse the repository at this point in the history
single threaded nodes also need mark_deleted_tree()
  • Loading branch information
kohler committed Oct 23, 2013
2 parents bba3f4e + beb73e6 commit ef5623c
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions nodeversion.hh
Original file line number Diff line number Diff line change
Expand Up @@ -268,6 +268,9 @@ class basic_singlethreaded_nodeversion {
basic_singlethreaded_nodeversion<P> mark_deleted() {
return *this;
}
void mark_deleted_tree() {
v_ |= P::deleted_bit;
}
void mark_root() {
v_ |= P::root_bit;
}
Expand Down

0 comments on commit ef5623c

Please sign in to comment.