diff options
-rw-r--r-- | server/src/luaoncommit.h | 2 | ||||
-rw-r--r-- | server/src/luascript.h | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/server/src/luaoncommit.h b/server/src/luaoncommit.h index a9883b2..8db75f8 100644 --- a/server/src/luaoncommit.h +++ b/server/src/luaoncommit.h @@ -37,7 +37,7 @@ class LUAOnCommit : public LUAScript { public: LUAOnCommit() {} LUAOnCommit(Transaction &transaction, Commit &commit); - ~LUAOnCommit() {} + virtual ~LUAOnCommit() {} const char *name() { return "lua on commit"; } }; diff --git a/server/src/luascript.h b/server/src/luascript.h index ae47539..11fb77d 100644 --- a/server/src/luascript.h +++ b/server/src/luascript.h @@ -55,7 +55,7 @@ public: }; LUAScript(); - ~LUAScript() {} + virtual ~LUAScript() {} virtual const char *name() { return ""; } |