diff options
author | Peter Åstrand <astrand@cendio.se> | 2008-12-11 08:38:10 +0000 |
---|---|---|
committer | Peter Åstrand <astrand@cendio.se> | 2008-12-11 08:38:10 +0000 |
commit | a2f8d3c4b2938f3a6ee96b732a83462351036d4e (patch) | |
tree | 0d3ac0f872c65f82d16c3faa82a68516eb3eb2b1 | |
parent | 7eb594a1f1dddee252e025bdf980c1eb5e40e79a (diff) | |
download | tigervnc-a2f8d3c4b2938f3a6ee96b732a83462351036d4e.tar.gz tigervnc-a2f8d3c4b2938f3a6ee96b732a83462351036d4e.zip |
Define ~Notifier as virtual, to avoid GCC warning about "virtual
functions but non-virtual destructor".
git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@3377 3789f03b-4d11-0410-bbf8-ca57d06f2519
-rw-r--r-- | win/rfb_win32/Clipboard.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/win/rfb_win32/Clipboard.h b/win/rfb_win32/Clipboard.h index b79768f6..498f75fe 100644 --- a/win/rfb_win32/Clipboard.h +++ b/win/rfb_win32/Clipboard.h @@ -40,6 +40,7 @@ namespace rfb { class Notifier { public: virtual void notifyClipboardChanged(const char* text, int len) = 0; + virtual ~Notifier() {}; }; Clipboard(); |