Skip to content

Commit ce0bef4

Browse files
committed
UPD | imports
1 parent bc25942 commit ce0bef4

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

examples/00-main.cpp

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,13 +12,12 @@ int main () {
1212
manapi::async::context::gbs (manapi::async::context::blockedsignals());
1313

1414
auto ctx = manapi::async::context::create(0).unwrap();
15-
ctx->eventloop()->setup_handle_interrupt();
1615

1716
auto router_ctx = manapi::net::http::server_ctx::create().unwrap();
1817

1918
std::atomic<bool> flag = false;
2019

21-
manapi::async::context::run(ctx, 0, [router_ctx, &flag] (std::function<void()> bind) mutable -> void {
20+
ctx->run(ctx, 0, [router_ctx, &flag] (std::function<void()> bind) mutable -> void {
2221
using http = manapi::net::http::server;
2322
auto router = http::create(router_ctx).unwrap();
2423

include/ext/pq/AsyncPostgreClient.hpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,8 @@
44
#include "../../ManapiUtils.hpp"
55
#include "../../std/ManapiAsyncContext.hpp"
66
#include "../../std/ManapiAsyncSocket.hpp"
7+
#include "../../std/ManapiAsyncMutex.hpp"
8+
#include "../../json/ManapiJson.hpp"
79

810
#include "./AsyncPostgreResult.hpp"
911
#include "./AsyncPostgreError.hpp"

0 commit comments

Comments
 (0)