From a2f8d3c4b2938f3a6ee96b732a83462351036d4e Mon Sep 17 00:00:00 2001 From: =?utf8?q?Peter=20=C3=85strand?= Date: Thu, 11 Dec 2008 08:38:10 +0000 Subject: [PATCH] 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 --- win/rfb_win32/Clipboard.h | 1 + 1 file changed, 1 insertion(+) 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(); -- 2.39.5