diff options
Diffstat (limited to 'src/lindafactory.hpp')
-rw-r--r-- | src/lindafactory.hpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/lindafactory.hpp b/src/lindafactory.hpp index 0921c8f..814f21c 100644 --- a/src/lindafactory.hpp +++ b/src/lindafactory.hpp | |||
@@ -4,13 +4,14 @@ | |||
4 | 4 | ||
5 | // ################################################################################################# | 5 | // ################################################################################################# |
6 | 6 | ||
7 | class LindaFactory | 7 | class LindaFactory final |
8 | : public DeepFactory | 8 | : public DeepFactory |
9 | { | 9 | { |
10 | public: | 10 | public: |
11 | // TODO: I'm not totally happy with having a 'global' variable. Maybe it should be dynamically created and stored somewhere in the universe? | 11 | // TODO: I'm not totally happy with having a 'global' variable. Maybe it should be dynamically created and stored somewhere in the universe? |
12 | static LindaFactory Instance; | 12 | static LindaFactory Instance; |
13 | 13 | ||
14 | ~LindaFactory() override = default; | ||
14 | LindaFactory(luaL_Reg const lindaMT_[]) | 15 | LindaFactory(luaL_Reg const lindaMT_[]) |
15 | : mLindaMT{ lindaMT_ } | 16 | : mLindaMT{ lindaMT_ } |
16 | { | 17 | { |