Skip to content

Commit

Permalink
coro: update consumer kind enum
Browse files Browse the repository at this point in the history
  • Loading branch information
xlauko committed Feb 29, 2024
1 parent 49d5ce8 commit 6f3790e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion coro/include/gap/coro/single_consumer_event.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ namespace gap::coro

struct single_consumer_event
{
enum state_kind { notset, set, waiting };
enum class state_kind { notset, set, waiting };

single_consumer_event(bool initially_set = false) noexcept
: m_state(initially_set ? state_kind::set : state_kind::notset)
Expand Down

0 comments on commit 6f3790e

Please sign in to comment.