Commit 979cdf43 authored by Yedidya Feldblum's avatar Yedidya Feldblum Committed by Facebook Github Bot

Add missing inline to co_current_executor

Summary: [Folly] Add missing `inline` to `co_current_executor`.

Reviewed By: ericniebler

Differential Revision: D18034078

fbshipit-source-id: 8c212ef6278112cc8e90075494a3038d9111bb64
parent c9d712c3
......@@ -47,7 +47,7 @@ using co_current_executor_t = detail::co_current_executor_;
// Executor* e = co_await folly::coro::co_current_executor;
// e->add([] { do_something(); });
// }
constexpr co_current_executor_t co_current_executor{
inline constexpr co_current_executor_t co_current_executor{
co_current_executor_t::secret_::token_};
namespace detail {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment