diff options
| author | nyamatongwe <unknown> | 2011-02-01 14:49:34 +1100 | 
|---|---|---|
| committer | nyamatongwe <unknown> | 2011-02-01 14:49:34 +1100 | 
| commit | 3d028ac24af1f6d1183717c55d65e291836c37d9 (patch) | |
| tree | da3e1d00efe78a9ed7f7753ad999aac2b3371cb8 /lexlib/OptionSet.h | |
| parent | e68122c378588ae97240394f3cb948df165cfd36 (diff) | |
| download | scintilla-mirror-3d028ac24af1f6d1183717c55d65e291836c37d9.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); | 
