archibate / co_async

C++20 Coroutine Library for Education Purpose (WIP)
194 stars 12 forks source link

How to compile effeciently #3

Open jiayaozhang opened 7 months ago

jiayaozhang commented 7 months ago

https://github.com/archibate/co_async/blob/f342eedf6b8aa1d1d5a5c1cf0319fc1a46d28a5f/steps/step7.cpp#L231

https://github.com/archibate/co_async/blob/f342eedf6b8aa1d1d5a5c1cf0319fc1a46d28a5f/steps/step7.cpp#L246

#include "co_async/rbtree.hpp"
#include "co_async/debug.hpp"

RbTree这里我改成了co_async::RbTree, rbtree.hpp和debug.hpp都加了“co_async/”编译通过的

🍟Cheers!

archibate commented 7 months ago

对的,就是这样,后来两个头文件改了文件位置,忘记改steps里的了