From 852db1d885943324db7eb50ddc6c6df124a60e6c Mon Sep 17 00:00:00 2001 From: David Aurelio Date: Thu, 13 Dec 2018 07:09:31 -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: D13439607 fbshipit-source-id: 89555bb19a3fff6e29ca4afc10fe15fecca8fa17 --- yoga/Utils.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/yoga/Utils.h b/yoga/Utils.h index fed3c1fb..a0d49235 100644 --- a/yoga/Utils.h +++ b/yoga/Utils.h @@ -123,7 +123,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)