Skip to content

Commit

Permalink
Change noop call to void cast.
Browse files Browse the repository at this point in the history
  • Loading branch information
Siapran committed Apr 3, 2020
1 parent 2edcb07 commit 8ef6939
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lager/commit.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -22,13 +22,13 @@ namespace detail {
template <typename RootCursorT>
void send_down_root(RootCursorT&& root)
{
noop((detail::access::roots(std::forward<RootCursorT>(root))->send_down(), 0));
(void) detail::access::roots(std::forward<RootCursorT>(root))->send_down();
}

template <typename RootCursorT>
void notify_root(RootCursorT&& root)
{
noop((detail::access::roots(std::forward<RootCursorT>(root))->notify(), 0));
(void) detail::access::roots(std::forward<RootCursorT>(root))->notify();
}
} // namespace detail

Expand Down

0 comments on commit 8ef6939

Please sign in to comment.