diff options
Diffstat (limited to '')
-rw-r--r-- | src/lindafactory.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lindafactory.cpp b/src/lindafactory.cpp index 890cc96..6d26852 100644 --- a/src/lindafactory.cpp +++ b/src/lindafactory.cpp | |||
@@ -126,7 +126,7 @@ DeepPrelude* LindaFactory::newDeepObjectInternal(lua_State* L_) const | |||
126 | 126 | ||
127 | // The deep data is allocated separately of Lua stack; we might no longer be around when last reference to it is being released. | 127 | // The deep data is allocated separately of Lua stack; we might no longer be around when last reference to it is being released. |
128 | // One can use any memory allocation scheme. Just don't use L's allocF because we don't know which state will get the honor of GCing the linda | 128 | // One can use any memory allocation scheme. Just don't use L's allocF because we don't know which state will get the honor of GCing the linda |
129 | Universe* const _U{ universe_get(L_) }; | 129 | Universe* const _U{ Universe::Get(L_) }; |
130 | Linda* const _linda{ new (_U) Linda{ _U, _linda_group, _linda_name } }; | 130 | Linda* const _linda{ new (_U) Linda{ _U, _linda_group, _linda_name } }; |
131 | return _linda; | 131 | return _linda; |
132 | } | 132 | } |