summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorRob Taylor <rob.taylor@codethink.co.uk>2011-03-16 19:34:43 +0000
committerRob Taylor <rob.taylor@codethink.co.uk>2011-03-16 19:39:25 +0000
commit0815141f03aeb30d477142fd4c46c71c6d5fcc1f (patch)
tree22a2158fd3ac545ccde69c882229a2b072eccc73 /include
parent3775ce887c5fdf89b0210c020368217a927d4017 (diff)
downloadmobileperf-0815141f03aeb30d477142fd4c46c71c6d5fcc1f.tar.gz
mobileperf-0815141f03aeb30d477142fd4c46c71c6d5fcc1f.tar.bz2
CompOption::Class had virtual functions without a virtual destructor. That's usually bad.
Diffstat (limited to 'include')
-rw-r--r--include/core/option.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/core/option.h b/include/core/option.h
index 934a133..98870f2 100644
--- a/include/core/option.h
+++ b/include/core/option.h
@@ -160,6 +160,7 @@ class CompOption {
*/
class Class {
public:
+ virtual ~Class() {};
virtual Vector & getOptions () = 0;
virtual CompOption * getOption (const CompString &name);