From 0e012e4a0c3dc56e5a9e01bd90fa82642182b25a Mon Sep 17 00:00:00 2001 From: Hannes Janetzek Date: Tue, 4 Dec 2018 14:41:00 +0100 Subject: [PATCH] clenaups duktape --- core/src/js/DuktapeContext.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/src/js/DuktapeContext.h b/core/src/js/DuktapeContext.h index 93b7e942e7..ef2878732e 100644 --- a/core/src/js/DuktapeContext.h +++ b/core/src/js/DuktapeContext.h @@ -441,7 +441,7 @@ struct Context { return false; } - auto &function = m_functions[index]; + auto& function = m_functions[index]; duk_push_heapptr(_ctx, function.ptr); int args = 0; #ifndef BIND_GLOBAL_TO_FUNCTION