From 7fb9c9083275fd35c2bb4456999673444dcfe986 Mon Sep 17 00:00:00 2001 From: aozhiwei Date: Fri, 3 Nov 2023 19:06:30 +0800 Subject: [PATCH] 1 --- f8/coroutine.cc | 3 +-- f8/coroutine.h | 4 +--- 2 files changed, 2 insertions(+), 5 deletions(-) diff --git a/f8/coroutine.cc b/f8/coroutine.cc index 1c8796d..a4cb486 100644 --- a/f8/coroutine.cc +++ b/f8/coroutine.cc @@ -1,3 +1,4 @@ +#ifdef USE_BOOST #include #include #include @@ -7,8 +8,6 @@ #include #include -#ifdef USE_BOOST - class TimerPromise : public a8::Promise { public: diff --git a/f8/coroutine.h b/f8/coroutine.h index 97f345b..5a529e8 100644 --- a/f8/coroutine.h +++ b/f8/coroutine.h @@ -1,9 +1,7 @@ #pragma once -#include - #ifdef USE_BOOST - +#include #include namespace f8