From a034427e3f2a06f171ee8b42c1c08abe99319eb4 Mon Sep 17 00:00:00 2001 From: Frederic Barthelemy Date: Wed, 14 Mar 2018 13:53:50 -0700 Subject: [PATCH] RCTObjcExecutor: fix initializer list order initialization warning. Fixes: #18384 --- React/CxxBridge/RCTObjcExecutor.mm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/React/CxxBridge/RCTObjcExecutor.mm b/React/CxxBridge/RCTObjcExecutor.mm index 2f861ffc983ec8..6039ef24a50ad3 100644 --- a/React/CxxBridge/RCTObjcExecutor.mm +++ b/React/CxxBridge/RCTObjcExecutor.mm @@ -39,8 +39,8 @@ std::shared_ptr delegate) : m_jse(jse) , m_errorBlock(errorBlock) - , m_jsThread(std::move(jsThread)) , m_delegate(std::move(delegate)) + , m_jsThread(std::move(jsThread)) { m_jsCallback = ^(id json, NSError *error) { if (error) {