summaryrefslogtreecommitdiff
path: root/plugins/MirLua/src/metatable.h
diff options
context:
space:
mode:
authorGeorge Hazan <ghazan@miranda.im>2020-10-16 19:41:47 +0300
committerGeorge Hazan <ghazan@miranda.im>2020-10-16 19:41:47 +0300
commit1aea5e768a5616d30a9568a57cc190cd96d2529c (patch)
treed604e878a84139d9a840920aef9e26cd7afe76be /plugins/MirLua/src/metatable.h
parent4bb9749b21edbe9d97ea16a440501f51d5be036c (diff)
warning fix
Diffstat (limited to 'plugins/MirLua/src/metatable.h')
-rw-r--r--plugins/MirLua/src/metatable.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/plugins/MirLua/src/metatable.h b/plugins/MirLua/src/metatable.h
index aa736428ca..82d4e07c21 100644
--- a/plugins/MirLua/src/metatable.h
+++ b/plugins/MirLua/src/metatable.h
@@ -29,6 +29,8 @@ public:
CMTField(const char *name, int type) :
name(mir_strdup(name)), type(type) {}
+ virtual ~CMTField() {}
+
const char* GetName() const { return name; }
int GetType() const { return type; }