aboutsummaryrefslogtreecommitdiff
path: root/src/commander.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/commander.hpp')
-rw-r--r--src/commander.hpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/commander.hpp b/src/commander.hpp
index 9842c9f..89c476a 100644
--- a/src/commander.hpp
+++ b/src/commander.hpp
@@ -2,6 +2,7 @@
#define WANDA_COMMANDER_HPP
#include "control_connection.hpp"
+#include "message.hpp"
#include <boost/system/error_code.hpp>
@@ -16,7 +17,7 @@ struct commander : wanda::control_connection::listener
commander(boost::asio::io_service &service, std::filesystem::path socket);
void start();
- void send(std::string message);
+ void send(message message);
void on_error(wanda::control_connection::pointer connection, boost::system::error_code error) override;