Skip to content

Commit

Permalink
fixing compilation in clang
Browse files Browse the repository at this point in the history
  • Loading branch information
jeffplaisance committed Sep 5, 2023
1 parent 30a667e commit aec3c83
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 9 deletions.
14 changes: 7 additions & 7 deletions include/bpptree/detail/internalnodebase.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -305,8 +305,8 @@ struct InternalNodeBase : public Parent {
auto [index, remainder] = finder(this->self(), search_val);
pointers[index]->insert(remainder,
finder,
DoReplace(this->self(), index, do_replace, iter),
DoSplit(this->self(), index, do_replace, do_split, iter, right_most),
DoReplace<R>(this->self(), index, do_replace, iter),
DoSplit<R, S>(this->self(), index, do_replace, do_split, iter, right_most),
size,
iter,
right_most && index == this->length - 1,
Expand All @@ -318,7 +318,7 @@ struct InternalNodeBase : public Parent {
auto [index, remainder] = finder(this->self(), search_val);
pointers[index]->assign(remainder,
finder,
DoReplace(this->self(), index, do_replace, iter),
DoReplace<R>(this->self(), index, do_replace, iter),
iter,
std::forward<Args>(args)...
);
Expand Down Expand Up @@ -392,8 +392,8 @@ struct InternalNodeBase : public Parent {
auto [index, remainder] = finder(this->self(), search_val);
pointers[index]->erase(remainder,
finder,
DoReplace(this->self(), index, do_replace, iter),
DoErase(this->self(), index, do_replace, do_erase, iter, right_most),
DoReplace<R>(this->self(), index, do_replace, iter),
DoErase<R, E>(this->self(), index, do_replace, do_erase, iter, right_most),
size,
iter,
right_most && index == this->length - 1);
Expand All @@ -404,7 +404,7 @@ struct InternalNodeBase : public Parent {
auto [index, remainder] = finder(this->self(), search_val);
pointers[index]->update(remainder,
finder,
DoReplace(this->self(), index, do_replace, iter),
DoReplace<R>(this->self(), index, do_replace, iter),
iter,
updater
);
Expand All @@ -415,7 +415,7 @@ struct InternalNodeBase : public Parent {
auto [index, remainder] = finder(this->self(), search_val);
pointers[index]->update2(remainder,
finder,
DoReplace(this->self(), index, do_replace, iter),
DoReplace<R>(this->self(), index, do_replace, iter),
iter,
updater
);
Expand Down
4 changes: 2 additions & 2 deletions include/bpptree/detail/ordered_detail.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -271,8 +271,8 @@ struct OrderedDetail {
auto [index, remainder] = finder(this->self(), search_val);
this->pointers[index]->template insert_or_assign<duplicate_policy>(remainder,
finder,
typename Parent::template DoReplace<R&>(this->self(), index, do_replace, iter),
typename Parent::template DoSplit<R&, S&>(this->self(), index, do_replace, do_split, iter, right_most),
typename Parent::template DoReplace<R>(this->self(), index, do_replace, iter),
typename Parent::template DoSplit<R, S>(this->self(), index, do_replace, do_split, iter, right_most),
size,
iter,
right_most && index == this->length - 1,
Expand Down

0 comments on commit aec3c83

Please sign in to comment.