From 391cb5714365c0291dcf1c94bf25396929c84e65 Mon Sep 17 00:00:00 2001 From: qicosmos Date: Fri, 22 Mar 2024 15:17:58 +0800 Subject: [PATCH] lazy callback --- include/cinatra/coro_http_router.hpp | 15 +----- include/cinatra/coro_http_server.hpp | 2 +- include/cinatra/ylt/coro_io/coro_io.hpp | 64 ++++++++++++++++++++++++- 3 files changed, 64 insertions(+), 17 deletions(-) diff --git a/include/cinatra/coro_http_router.hpp b/include/cinatra/coro_http_router.hpp index d60b3dcf..73ede525 100644 --- a/include/cinatra/coro_http_router.hpp +++ b/include/cinatra/coro_http_router.hpp @@ -1,6 +1,4 @@ #pragma once -#include - #include #include #include @@ -17,17 +15,6 @@ #include "ylt/util/type_traits.h" namespace cinatra { -template