From 2589c69c4a909563098365fba141082db4657353 Mon Sep 17 00:00:00 2001 From: Michael Krelin Date: Thu, 22 Nov 2007 23:00:32 +0000 Subject: added virtual destructors to base classes and bumped version to 0.4 Signed-off-by: Michael Krelin --- (limited to 'include') diff --git a/include/opkele/consumer.h b/include/opkele/consumer.h index b9d1e54..50ff692 100644 --- a/include/opkele/consumer.h +++ b/include/opkele/consumer.h @@ -22,6 +22,8 @@ namespace opkele { class consumer_t { public: + virtual ~consumer_t() { } + /** * store association. The function should be overridden in the real * implementation to provide persistent associations store. diff --git a/include/opkele/extension.h b/include/opkele/extension.h index ea0c74c..513672f 100644 --- a/include/opkele/extension.h +++ b/include/opkele/extension.h @@ -15,6 +15,8 @@ namespace opkele { */ class extension_t { public: + + virtual ~extension_t() { } /** * hook called by consumer before submitting data to OpenID server. * It is supposed to manipulate parameters list. diff --git a/include/opkele/server.h b/include/opkele/server.h index e7e5bb3..dd7fc41 100644 --- a/include/opkele/server.h +++ b/include/opkele/server.h @@ -17,6 +17,8 @@ namespace opkele { class server_t { public: + virtual ~server_t() { } + /** * allocate the new association. The function should be overridden * in the real implementation to provide persistent assocations diff --git a/include/opkele/types.h b/include/opkele/types.h index 8f4bf73..f732a1e 100644 --- a/include/opkele/types.h +++ b/include/opkele/types.h @@ -65,6 +65,8 @@ namespace opkele { class association_t { public: + virtual ~association_t() { } + /** * retrieve the server with which association was established. * @return server name -- cgit v0.9.0.2