aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--lexlib/OptionSet.h2
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);