diff options
author | Bent Bisballe Nyeng <deva@aasimon.org> | 2012-02-09 11:15:41 +0100 |
---|---|---|
committer | Bent Bisballe Nyeng <deva@aasimon.org> | 2012-02-09 11:15:41 +0100 |
commit | 24972d15cec9fc6ffa639f0f62109d8748a7625e (patch) | |
tree | ee5d4ee150e92f830d67343f3c5b14a60353e50e /server/src | |
parent | dfa4958ffb3165785149d266af6710762e88ce1e (diff) |
Add missing virtual destructors (oops, missed the 'virtual' keyword...).
Diffstat (limited to 'server/src')
-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 ""; } |