Fix scripting::Engine members initialization order

This commit is contained in:
David Capello 2015-08-27 13:39:38 -03:00
parent f8f1aba806
commit 55a618a79a

View File

@ -205,8 +205,8 @@ void* Context::getThis()
}
Engine::Engine(EngineDelegate* delegate)
: m_delegate(delegate)
, m_ctx(duk_create_heap_default())
: m_ctx(duk_create_heap_default())
, m_delegate(delegate)
{
}