From 60d47126808b4c84fcd0492b11e8aed975e879a2 Mon Sep 17 00:00:00 2001 From: Wojtek Figat Date: Wed, 9 Dec 2020 16:34:03 +0100 Subject: [PATCH] Add inlined function call in Delegate invoke --- Source/Engine/Core/Delegate.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Source/Engine/Core/Delegate.h b/Source/Engine/Core/Delegate.h index 92fc46a0d..bfbc1634f 100644 --- a/Source/Engine/Core/Delegate.h +++ b/Source/Engine/Core/Delegate.h @@ -424,7 +424,7 @@ public: if (f._function != nullptr) { f._callee = (void*)Platform::AtomicRead((intptr volatile*)&bindings[i]._callee); - f(Forward(params)...); + f._function(f._callee, Forward(params)...); } } }