Bugfix: We need a virtual destructor for the interface.
authorBjoern Sikora <bjoern.sikora@intra2net.com>
Mon, 21 Sep 2009 09:31:54 +0000 (11:31 +0200)
committerBjoern Sikora <bjoern.sikora@intra2net.com>
Mon, 21 Sep 2009 09:31:54 +0000 (11:31 +0200)
src/ip_service.h

index 10eece3..5e91b52 100644 (file)
@@ -22,6 +22,8 @@ public:
 
     typedef boost::shared_ptr<IPService> Ptr;
 
+    virtual ~IPService() {};
+
     virtual int connect(const std::string& _hostname, const std::string& _port) = 0;
 
     virtual std::string read_from_socket() = 0;