diff options
Diffstat (limited to 'statsd/stats.hpp')
| -rw-r--r-- | statsd/stats.hpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/statsd/stats.hpp b/statsd/stats.hpp index b6e4bca..bcf85c5 100644 --- a/statsd/stats.hpp +++ b/statsd/stats.hpp @@ -10,7 +10,7 @@ #include <list> class Stats { - boost::asio::io_service io_service; + boost::asio::io_service& io_service; Server server; std::list<Receiver> connections; @@ -27,8 +27,8 @@ class Stats { void handle_message(std::list<Receiver>::iterator it, cmix_proto::CMixMessage message); public: - Stats(ListenSettings lsettings); + Stats(boost::asio::io_service& io_service, ListenSettings lsettings); void run(); void output(std::string file); -};
\ No newline at end of file +}; |
