From eb4194633670f8813094aa87eba54b07d5453196 Mon Sep 17 00:00:00 2001 From: Felix Morgner Date: Sat, 1 Dec 2018 13:01:36 +0100 Subject: wanda: remove boost asio and program_options --- src/commander.hpp | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) (limited to 'src/commander.hpp') diff --git a/src/commander.hpp b/src/commander.hpp index b88cd7f..6337f08 100644 --- a/src/commander.hpp +++ b/src/commander.hpp @@ -4,8 +4,7 @@ #include "control_connection.hpp" #include "message.hpp" -#include -#include +#include #include #include @@ -15,15 +14,15 @@ namespace wanda struct commander : wanda::control_connection::listener { - commander(boost::asio::io_service &service, std::filesystem::path socket); + commander(asio::io_service &service, std::filesystem::path socket); void start(); - void on_error(wanda::control_connection::pointer connection, boost::system::error_code error) override; - void on_received(wanda::control_connection::pointer connection, message message) override; + void on_error(control_connection::pointer connection, std::error_code error) override; + void on_received(control_connection::pointer connection, message message) override; private: - boost::asio::io_service & m_service; + asio::io_service & m_service; wanda::control_connection::protocol::endpoint m_endpoint; wanda::control_connection::protocol::socket m_socket; wanda::control_connection::pointer m_connection; -- cgit v1.2.3