author | Michael Krelin <hacker@klever.net> | 2007-11-22 23:00:32 (UTC) |
---|---|---|
committer | Michael Krelin <hacker@klever.net> | 2007-11-22 23:00:32 (UTC) |
commit | 2589c69c4a909563098365fba141082db4657353 (patch) (side-by-side diff) | |
tree | e42018dd7d2ed1bbdee90155d3c99bbaf0011bc0 | |
parent | e6b62b080eae38a7c62be1148cf794085e9065c3 (diff) | |
download | libopkele-2589c69c4a909563098365fba141082db4657353.zip libopkele-2589c69c4a909563098365fba141082db4657353.tar.gz libopkele-2589c69c4a909563098365fba141082db4657353.tar.bz2 |
added virtual destructors to base classes
and bumped version to 0.4
Signed-off-by: Michael Krelin <hacker@klever.net>
-rw-r--r-- | configure.ac | 2 | ||||
-rw-r--r-- | include/opkele/consumer.h | 2 | ||||
-rw-r--r-- | include/opkele/extension.h | 2 | ||||
-rw-r--r-- | include/opkele/server.h | 2 | ||||
-rw-r--r-- | include/opkele/types.h | 2 |
5 files changed, 9 insertions, 1 deletions
diff --git a/configure.ac b/configure.ac index 283757f..48a5efb 100644 --- a/configure.ac +++ b/configure.ac @@ -1,3 +1,3 @@ -AC_INIT([libopkele], [0.3.2], [libopkele-bugs@klever.net]) +AC_INIT([libopkele], [0.4], [libopkele-bugs@klever.net]) AC_CONFIG_SRCDIR([include/opkele/opkele-config.h]) AC_CONFIG_HEADERS([config.h include/opkele/acconfig.h]) 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 @@ -23,4 +23,6 @@ namespace opkele { public: + virtual ~consumer_t() { } + /** * store association. The function should be overridden in the real 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 @@ -16,4 +16,6 @@ namespace opkele { class extension_t { public: + + virtual ~extension_t() { } /** * hook called by consumer before submitting data to OpenID server. 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 @@ -18,4 +18,6 @@ namespace opkele { public: + virtual ~server_t() { } + /** * allocate the new association. The function should be overridden 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 @@ -66,4 +66,6 @@ namespace opkele { public: + virtual ~association_t() { } + /** * retrieve the server with which association was established. |