diff options
Diffstat (limited to '')
-rw-r--r-- | src/lindafactory.h | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/src/lindafactory.h b/src/lindafactory.h index d31af1f..271f9a7 100644 --- a/src/lindafactory.h +++ b/src/lindafactory.h | |||
@@ -8,7 +8,6 @@ class LindaFactory | |||
8 | : public DeepFactory | 8 | : public DeepFactory |
9 | { | 9 | { |
10 | public: | 10 | public: |
11 | |||
12 | // I'm not totally happy with having a 'global' variable. Maybe it should be dynamically created and stored somewhere in the universe? | 11 | // I'm not totally happy with having a 'global' variable. Maybe it should be dynamically created and stored somewhere in the universe? |
13 | static LindaFactory Instance; | 12 | static LindaFactory Instance; |
14 | 13 | ||
@@ -18,11 +17,10 @@ class LindaFactory | |||
18 | } | 17 | } |
19 | 18 | ||
20 | private: | 19 | private: |
21 | |||
22 | luaL_Reg const* const mLindaMT{ nullptr }; | 20 | luaL_Reg const* const mLindaMT{ nullptr }; |
23 | 21 | ||
24 | void createMetatable(lua_State* L_) const override; | 22 | void createMetatable(lua_State* L_) const override; |
25 | void deleteDeepObjectInternal(lua_State* L_, DeepPrelude* o_) const override; | 23 | void deleteDeepObjectInternal(lua_State* L_, DeepPrelude* o_) const override; |
26 | char const* moduleName() const override; | 24 | [[nodiscard]] char const* moduleName() const override; |
27 | DeepPrelude* newDeepObjectInternal(lua_State* L_) const override; | 25 | [[nodiscard]] DeepPrelude* newDeepObjectInternal(lua_State* L_) const override; |
28 | }; | 26 | }; |