Skip to content

Commit 301c0dd

Browse files
committed
Fix initialization order for LuabinObjectWrapper
1 parent c5a5671 commit 301c0dd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Source/Lua/LuabindObjectWrapper.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ namespace RTE {
3131

3232
/// Constructor method used to instantiate a LuabindObjectWrapper object in system memory.
3333
explicit LuabindObjectWrapper(luabind::adl::object* luabindObject, const std::string_view& filePath, bool ownsObject = true) :
34-
m_LuabindObject(luabindObject), m_FilePath(filePath), m_OwnsObject(ownsObject) {}
34+
m_OwnsObject(ownsObject), m_LuabindObject(luabindObject), m_FilePath(filePath) {}
3535
#pragma endregion
3636

3737
#pragma region Destruction

0 commit comments

Comments
 (0)