Skip to content

Commit

Permalink
Previous commit did, in fact, not solve the issue
Browse files Browse the repository at this point in the history
  • Loading branch information
Oipo committed Oct 20, 2024
1 parent 17352cb commit 0ce9d51
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions include/ichor/coroutines/AsyncGeneratorDetail.h
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@ namespace Ichor::Detail {
return internal_yield_value();
}

inline void AsyncGeneratorPromise<void>::return_void() noexcept {
ICHOR_COROUTINE_CONSTEXPR inline void AsyncGeneratorPromise<void>::return_void() noexcept {
INTERNAL_COROUTINE_DEBUG("return_value<void> {} {}", _id, !!_consumerCoroutine);

#ifdef ICHOR_USE_HARDENING
Expand All @@ -126,7 +126,7 @@ namespace Ichor::Detail {
#endif
}

constexpr inline AsyncGenerator<void> AsyncGeneratorPromise<void>::get_return_object() noexcept {
ICHOR_COROUTINE_CONSTEXPR inline AsyncGenerator<void> AsyncGeneratorPromise<void>::get_return_object() noexcept {
return AsyncGenerator<void>{ *this };
}
}
4 changes: 2 additions & 2 deletions include/ichor/coroutines/AsyncGeneratorPromiseBase.h
Original file line number Diff line number Diff line change
Expand Up @@ -207,7 +207,7 @@ namespace Ichor::Detail {
*_destroyed = true;
};

constexpr AsyncGenerator<T> get_return_object() noexcept {
ICHOR_COROUTINE_CONSTEXPR AsyncGenerator<T> get_return_object() noexcept {
return AsyncGenerator<T>{ *this };
}

Expand Down Expand Up @@ -268,7 +268,7 @@ namespace Ichor::Detail {
*_destroyed = true;
};

constexpr AsyncGenerator<void> get_return_object() noexcept;
ICHOR_COROUTINE_CONSTEXPR AsyncGenerator<void> get_return_object() noexcept;

AsyncGeneratorYieldOperation yield_value(Ichor::Empty) noexcept;

Expand Down

0 comments on commit 0ce9d51

Please sign in to comment.