[gnote/stable-0.8] Add virtual destructor for IKeybinder
- From: Aurimas Äernius <aurimasc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnote/stable-0.8] Add virtual destructor for IKeybinder
- Date: Sat, 17 Mar 2012 16:05:50 +0000 (UTC)
commit 1e13097e6fa79822d32112f11fef35482869707c
Author: Aurimas Äernius <aurisc4 gmail com>
Date: Sat Mar 17 17:43:36 2012 +0200
Add virtual destructor for IKeybinder
Fix compiler warning.
src/keybinder.hpp | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/src/keybinder.hpp b/src/keybinder.hpp
index 29c01f1..3f2cc75 100644
--- a/src/keybinder.hpp
+++ b/src/keybinder.hpp
@@ -36,6 +36,7 @@ namespace gnote {
class IKeybinder
{
public:
+ virtual ~IKeybinder(){}
virtual void bind(const std::string & keystring, const sigc::slot<void> & handler) = 0;
virtual void unbind(const std::string & keystring) = 0;
virtual void unbind_all() = 0;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]