From 517d07ddcfacc490104749a7dc49664fe2c44f6f Mon Sep 17 00:00:00 2001 From: David Aurelio Date: Thu, 6 Dec 2018 07:35:10 -0800 Subject: [PATCH] Remove unnecessary `static` keyword MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Summary: @public Header-declared inline functions shouldn’t be decleared `static` Reviewed By: SidharthGuglani Differential Revision: D13209156 fbshipit-source-id: e2d643a67e6f6c33c96dc71b0a90d00bd9b6f36f --- ReactCommon/yoga/yoga/Utils.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ReactCommon/yoga/yoga/Utils.h b/ReactCommon/yoga/yoga/Utils.h index 2a52eb2a9..7357009cc 100644 --- a/ReactCommon/yoga/yoga/Utils.h +++ b/ReactCommon/yoga/yoga/Utils.h @@ -128,7 +128,7 @@ inline YGFlexDirection YGResolveFlexDirection( return flexDirection; } -static inline YGFloatOptional YGResolveValueMargin( +inline YGFloatOptional YGResolveValueMargin( const YGValue value, const float ownerSize) { return value.unit == YGUnitAuto ? YGFloatOptional(0)