diff options
author | keybuk@chromium.org <keybuk@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-02-17 01:01:18 +0000 |
---|---|---|
committer | keybuk@chromium.org <keybuk@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-02-17 01:01:18 +0000 |
commit | 8acfaf570e7b0af382825605ec5134ebc97adfc8 (patch) | |
tree | e7b57014fd33f01c92637f351bd3765e46528e50 /dbus | |
parent | 6418778b6f19f1ef2ec4d9541b9eff8e8f6cfd03 (diff) | |
download | chromium_src-8acfaf570e7b0af382825605ec5134ebc97adfc8.zip chromium_src-8acfaf570e7b0af382825605ec5134ebc97adfc8.tar.gz chromium_src-8acfaf570e7b0af382825605ec5134ebc97adfc8.tar.bz2 |
dbus: ProperySet destructor must be virtual
clang requires us to have a destructor for this "complex" class,
but that destructor will need to be virtual later.
BUG=none
TEST=git try -b linux_chromeos_clang
Change-Id: Ia0efd34f205ab090cd7f2092d47fc0288b1f4e0c
Review URL: http://codereview.chromium.org/9420027
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@122417 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'dbus')
-rw-r--r-- | dbus/property.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/dbus/property.h b/dbus/property.h index 47b118f6..e90d2a2 100644 --- a/dbus/property.h +++ b/dbus/property.h @@ -197,7 +197,7 @@ class PropertySet { // Destructor; we don't hold on to any references or memory that needs // explicit clean-up, but clang thinks we might. - ~PropertySet(); + virtual ~PropertySet(); // Registers a property, generally called from the subclass constructor; // pass the |name| of the property as used in method calls and signals, |