Skip to content

Commit

Permalink
disable await
Browse files Browse the repository at this point in the history
  • Loading branch information
WentsingNee committed Sep 15, 2024
1 parent c96137f commit 65bdc76
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion include/kerbal/coroutine/generator/generator.decl.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -115,6 +115,8 @@ namespace kerbal
);
}

void await_transform() = delete;

generator
get_return_object()
{
Expand Down Expand Up @@ -147,7 +149,7 @@ namespace kerbal
generator(coroutine_handle && handle) KERBAL_NOEXCEPT;

public:
// generator() = default;
generator() = default;

generator(generator const &) = delete;

Expand Down

0 comments on commit 65bdc76

Please sign in to comment.