From 9ade3929aaa9b43577737f37404e28fd858b808d Mon Sep 17 00:00:00 2001 From: Cory Fields Date: Mon, 26 Sep 2022 21:10:41 +0000 Subject: [PATCH] signals: remove forward-declare for signals This eases the transition to a replacement signals implementation --- src/interfaces/handler.h | 8 ++------ src/node/interface_ui.h | 8 ++------ 2 files changed, 4 insertions(+), 12 deletions(-) diff --git a/src/interfaces/handler.h b/src/interfaces/handler.h index b3aebf7e14d..5de131ee98e 100644 --- a/src/interfaces/handler.h +++ b/src/interfaces/handler.h @@ -5,15 +5,11 @@ #ifndef BITCOIN_INTERFACES_HANDLER_H #define BITCOIN_INTERFACES_HANDLER_H +#include + #include #include -namespace boost { -namespace signals2 { -class connection; -} // namespace signals2 -} // namespace boost - namespace interfaces { //! Generic interface for managing an event handler or callback function diff --git a/src/node/interface_ui.h b/src/node/interface_ui.h index ce5171bb518..8c90bdf4fef 100644 --- a/src/node/interface_ui.h +++ b/src/node/interface_ui.h @@ -6,6 +6,8 @@ #ifndef BITCOIN_NODE_INTERFACE_UI_H #define BITCOIN_NODE_INTERFACE_UI_H +#include + #include #include #include @@ -15,12 +17,6 @@ class CBlockIndex; enum class SynchronizationState; struct bilingual_str; -namespace boost { -namespace signals2 { -class connection; -} -} // namespace boost - /** Signals for UI communication. */ class CClientUIInterface {