From f4dc2dffa8b40df25c3dd106cd14f994465bc50a Mon Sep 17 00:00:00 2001 From: Marshall Greenblatt Date: Wed, 31 Aug 2011 17:54:20 +0000 Subject: [PATCH] Add a virtual destructor to CefBase (issue #321). git-svn-id: https://chromiumembedded.googlecode.com/svn/trunk@283 5089003a-bbd8-11dd-ad1f-f1f9622dbc98 --- include/cef.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/include/cef.h b/include/cef.h index adae0d3e9..b61882e1a 100644 --- a/include/cef.h +++ b/include/cef.h @@ -416,6 +416,9 @@ public: // Return the current number of references. /// virtual int GetRefCt() =0; + +protected: + virtual ~CefBase() {} };