From: Bjoern Sikora Date: Mon, 21 Sep 2009 09:31:54 +0000 (+0200) Subject: Bugfix: We need a virtual destructor for the interface. X-Git-Tag: v1.1~174 X-Git-Url: http://developer.intra2net.com/git/?a=commitdiff_plain;h=52833f2d93edae53888f4f77275898de1db87468;p=bpdyndnsd Bugfix: We need a virtual destructor for the interface. --- diff --git a/src/ip_service.h b/src/ip_service.h index 10eece3..5e91b52 100644 --- a/src/ip_service.h +++ b/src/ip_service.h @@ -22,6 +22,8 @@ public: typedef boost::shared_ptr Ptr; + virtual ~IPService() {}; + virtual int connect(const std::string& _hostname, const std::string& _port) = 0; virtual std::string read_from_socket() = 0;