Skip to content

Commit

Permalink
attribute
Browse files Browse the repository at this point in the history
  • Loading branch information
kelbon committed Sep 25, 2024
1 parent fb51656 commit b19b984
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion include/kelcoro/generator.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -264,7 +264,7 @@ struct generator : enable_resource_deduction {
friend noexport::attach_leaf<generator>;

// invariant: == nullptr when top.done()
pointer_to_yielded_t<Yield> current_result = nullptr;
KELCORO_NO_UNIQUE_ADDRESS pointer_to_yielded_t<Yield> current_result = nullptr;
handle_type top = nullptr;

// precondition: 'handle' != nullptr, handle does not have other owners
Expand Down

0 comments on commit b19b984

Please sign in to comment.