Skip to content

Commit

Permalink
fix(coro): fix unused alias warning
Browse files Browse the repository at this point in the history
  • Loading branch information
Mishura4 committed Jul 11, 2024
1 parent 817c00c commit 62ecaf0
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion include/dpp/coro/awaitable.h
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,6 @@ class basic_awaitable {
template <bool Timed>
auto sync_wait_impl(auto&& do_wait) {
using result_type = decltype(detail::co_await_resolve(std::declval<Derived>()).await_resume());
using storage_type = std::conditional_t<std::is_void_v<result_type>, detail::promise::empty, result_type>;
using variant_type = detail::promise::result_t<result_type>;
variant_type result;
std::condition_variable cv;
Expand Down

0 comments on commit 62ecaf0

Please sign in to comment.