Skip to content

Commit

Permalink
fix format
Browse files Browse the repository at this point in the history
  • Loading branch information
poor-circle committed Apr 3, 2024
1 parent f89622f commit c8ce835
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion include/ylt/coro_io/io_context_pool.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,8 @@
#include <async_simple/Executor.h>
#include <async_simple/coro/Lazy.h>

#include <asio/io_context.hpp>
#include <asio/dispatch.hpp>
#include <asio/io_context.hpp>
#include <asio/steady_timer.hpp>
#include <atomic>
#include <future>
Expand Down
2 changes: 1 addition & 1 deletion include/ylt/coro_rpc/impl/protocol/coro_rpc_protocol.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -215,7 +215,7 @@ template <typename rpc_protocol = coro_rpc::protocol::coro_rpc_protocol>
async_simple::coro::Lazy<context_info_t<rpc_protocol>*> get_context_in_coro() {
auto* ctx = co_await async_simple::coro::LazyLocals{};
assert(ctx != nullptr);
co_return(context_info_t<rpc_protocol>*) ctx;
co_return (context_info_t<rpc_protocol>*) ctx;
}

namespace detail {
Expand Down

0 comments on commit c8ce835

Please sign in to comment.