Skip to content

Commit

Permalink
Fix -Wreorder flagging
Browse files Browse the repository at this point in the history
If using -Werror=reorder via some cmake build or otherwise, this gets flagged.
  • Loading branch information
13steinj authored and klemens-morgenstern committed May 27, 2024
1 parent 7f334f2 commit 4009635
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions include/boost/cobalt/detail/generator.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -98,9 +98,9 @@ struct generator_receiver : generator_receiver_base<Yield, Push>
generator_receiver() = default;
generator_receiver(generator_receiver && lhs)
: generator_receiver_base<Yield, Push>{std::move(lhs.pushed_value)},
exception(std::move(lhs.exception)), done(lhs.done),
exception(std::move(lhs.exception)),
result(std::move(lhs.result)),
result_buffer(std::move(lhs.result_buffer)),
result_buffer(std::move(lhs.result_buffer)), done(lhs.done),
awaited_from(std::move(lhs.awaited_from)), yield_from{std::move(lhs.yield_from)},
lazy(lhs.lazy), reference(lhs.reference), cancel_signal(lhs.cancel_signal)

Expand Down

0 comments on commit 4009635

Please sign in to comment.