aboutsummaryrefslogtreecommitdiffstats
path: root/daemon/src/connection_manager.h
diff options
context:
space:
mode:
Diffstat (limited to 'daemon/src/connection_manager.h')
-rw-r--r--daemon/src/connection_manager.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/daemon/src/connection_manager.h b/daemon/src/connection_manager.h
index d8b0e90..2711d34 100644
--- a/daemon/src/connection_manager.h
+++ b/daemon/src/connection_manager.h
@@ -8,6 +8,8 @@
#include <memory>
#include <map>
#include <thread>
+#include <optional>
+#include <functional>
namespace midi_router
{
@@ -21,7 +23,7 @@ public:
~Connection_Manager();
- Sender &
+ std::optional<std::reference_wrapper<Sender>>
get_sender(Device_Id const & device) const;
private: