From 52833f2d93edae53888f4f77275898de1db87468 Mon Sep 17 00:00:00 2001 From: Bjoern Sikora Date: Mon, 21 Sep 2009 11:31:54 +0200 Subject: [PATCH] Bugfix: We need a virtual destructor for the interface. --- src/ip_service.h | 2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) 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; -- 1.7.1