summaryrefslogtreecommitdiff
path: root/includes/BLua.h
diff options
context:
space:
mode:
authorNicolas "Pixel" Noble <pixel@nobis-crew.org>2012-08-30 14:29:05 -0700
committerNicolas "Pixel" Noble <pixel@nobis-crew.org>2012-08-30 14:29:05 -0700
commit7866096c62f265960d48a61ceb1ad8d53e44400a (patch)
treec38b382a5e5293eccdf27d2c33b214bb3f4a7f9d /includes/BLua.h
parent38833205e4011a8a318b8dc6809621a89ad9f446 (diff)
Adding a few virtual destructors.
Diffstat (limited to 'includes/BLua.h')
-rw-r--r--includes/BLua.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/includes/BLua.h b/includes/BLua.h
index be78660..12e921f 100644
--- a/includes/BLua.h
+++ b/includes/BLua.h
@@ -20,6 +20,7 @@ class LuaObject {
class LuaObjectFactory {
public:
LuaObjectFactory() : m_wantsDestruct(false), m_pushed(false) { }
+ virtual ~LuaObjectFactory() { }
virtual void push(Lua & L);
void pushDestruct(Lua & L);
template<class T>