Skip to content

Commit

Permalink
Fix force inline
Browse files Browse the repository at this point in the history
Signed-off-by: WenTao Ou <[email protected]>
  • Loading branch information
owent committed Jul 16, 2022
1 parent 5906f03 commit d90ba82
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion include/libcopp/coroutine/std_coroutine_common.h
Original file line number Diff line number Diff line change
Expand Up @@ -231,7 +231,7 @@ class promise_base_type {
}
}

LIBCOPP_COPP_API_HEAD_ONLY UTIL_FORCEINLINE promise_status get_status() const noexcept { return status_; }
UTIL_FORCEINLINE LIBCOPP_COPP_API_HEAD_ONLY promise_status get_status() const noexcept { return status_; }

LIBCOPP_COPP_API_HEAD_ONLY inline bool check_flag(promise_flag flag) const noexcept {
if (flag >= promise_flag::kMax) {
Expand Down

0 comments on commit d90ba82

Please sign in to comment.