From: Kefu Chai <
kefu...@scylladb.com>
Committer: Avi Kivity <
a...@scylladb.com>
Branch: master
coroutine/exception: do not include core/coroutine.hh
otherwise `coroutine/exception.hh` and `core/coroutine.hh` would
each other. this is not necessary, as `coroutine/exception.hh` does not
use the symbols declared by the latter.
in this change, the used headers are included in
`coroutine/exception.hh` instead.
Signed-off-by: Kefu Chai <
kefu...@scylladb.com>
---
diff --git a/include/seastar/coroutine/exception.hh b/include/seastar/coroutine/exception.hh
--- a/include/seastar/coroutine/exception.hh
+++ b/include/seastar/coroutine/exception.hh
@@ -21,8 +21,9 @@
#pragma once
-#include <seastar/core/coroutine.hh>
+#include <seastar/core/future.hh>
#include <coroutine>
+#include <exception>
namespace seastar {