Fix memory management issues in RFC 3164 formatted syslog message

This commit is contained in:
Marko Zivanovic
2015-09-04 15:04:35 +02:00
parent 464db0d1d2
commit 865d65f400
5 changed files with 18 additions and 54 deletions
-2
View File
@@ -37,8 +37,6 @@ public:
virtual void sendMessage(std::shared_ptr<SyslogMessage>);
private:
const std::string& _destination;
const int _port;
boost::asio::io_service _ios;
boost::asio::ip::udp::socket _socket{_ios};
};