diff options
author | nyamatongwe <devnull@localhost> | 2011-02-01 14:49:34 +1100 |
---|---|---|
committer | nyamatongwe <devnull@localhost> | 2011-02-01 14:49:34 +1100 |
commit | a4258495cde43155b55a91fd46299394ca957d60 (patch) | |
tree | eab32efa8a9e920a9827815f04ba2ad808b125f5 /lexlib/OptionSet.h | |
parent | 7825094235ef0210a9781aed1e7bfd41cee67bf9 (diff) | |
download | scintilla-mirror-a4258495cde43155b55a91fd46299394ca957d60.tar.gz |
Made destructor of OptionSet virtual to ensure all destructors called.
Diffstat (limited to 'lexlib/OptionSet.h')
-rw-r--r-- | lexlib/OptionSet.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lexlib/OptionSet.h b/lexlib/OptionSet.h index 277ca7a35..873ac8b6c 100644 --- a/lexlib/OptionSet.h +++ b/lexlib/OptionSet.h @@ -80,6 +80,8 @@ class OptionSet { names += name; } public: + virtual ~OptionSet() { + } void DefineProperty(const char *name, plcob pb, std::string description="") { nameToDef[name] = Option(pb, description); AppendName(name); |