summaryrefslogtreecommitdiff
path: root/boost/fiber/detail/data.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'boost/fiber/detail/data.hpp')
-rw-r--r--boost/fiber/detail/data.hpp17
1 files changed, 0 insertions, 17 deletions
diff --git a/boost/fiber/detail/data.hpp b/boost/fiber/detail/data.hpp
index e2b119ec3e..c363817a09 100644
--- a/boost/fiber/detail/data.hpp
+++ b/boost/fiber/detail/data.hpp
@@ -23,22 +23,6 @@ class context;
namespace detail {
-#if (BOOST_EXECUTION_CONTEXT==1)
-struct data_t {
- spinlock_lock * lk{ nullptr };
- context * ctx{ nullptr };
-
- data_t() = default;
-
- explicit data_t( spinlock_lock * lk_) noexcept :
- lk{ lk_ } {
- }
-
- explicit data_t( context * ctx_) noexcept :
- ctx{ ctx_ } {
- }
-};
-#else
struct data_t {
spinlock_lock * lk{ nullptr };
context * ctx{ nullptr };
@@ -60,7 +44,6 @@ struct data_t {
from{ from_ } {
}
};
-#endif
}}}