From c19fbc4d429020ac8293bb95c2544291e9953ca0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Christian=20Neun=C3=BCller?= Date: Tue, 23 Jul 2013 12:29:44 +0200 Subject: [PATCH] Adjust bindLuaPart() hack to new library version. --- src/compsys/MetaComponent.cpp | 2 +- src/{LuaUtils.cpp => luaUtils.cpp} | 0 src/{LuaUtils.hpp => luaUtils.hpp} | 0 src/ressys/{ResourceLoaders.hpp => resourceLoaders.hpp} | 0 4 files changed, 1 insertion(+), 1 deletion(-) rename src/{LuaUtils.cpp => luaUtils.cpp} (100%) rename src/{LuaUtils.hpp => luaUtils.hpp} (100%) rename src/ressys/{ResourceLoaders.hpp => resourceLoaders.hpp} (100%) diff --git a/src/compsys/MetaComponent.cpp b/src/compsys/MetaComponent.cpp index e941669..07497b4 100644 --- a/src/compsys/MetaComponent.cpp +++ b/src/compsys/MetaComponent.cpp @@ -86,7 +86,7 @@ class wrap_Component: public Component, public luabind::wrap_base { return; } wrapper.get(wrapper.state()); - wrapper.m_strong_ref.set(wrapper.state()); + wrapper.m_strong_ref.pop(wrapper.state()); } virtual MetaComponent const& metaComponent() const { return *m_metaComponent; } diff --git a/src/LuaUtils.cpp b/src/luaUtils.cpp similarity index 100% rename from src/LuaUtils.cpp rename to src/luaUtils.cpp diff --git a/src/LuaUtils.hpp b/src/luaUtils.hpp similarity index 100% rename from src/LuaUtils.hpp rename to src/luaUtils.hpp diff --git a/src/ressys/ResourceLoaders.hpp b/src/ressys/resourceLoaders.hpp similarity index 100% rename from src/ressys/ResourceLoaders.hpp rename to src/ressys/resourceLoaders.hpp