mirror of
https://github.com/zhigang1992/react-native.git
synced 2026-06-17 01:59:25 +08:00
Remove unnecessary static keyword
Summary: @public Header-declared inline functions shouldn’t be decleared `static` Reviewed By: SidharthGuglani Differential Revision: D13209156 fbshipit-source-id: e2d643a67e6f6c33c96dc71b0a90d00bd9b6f36f
This commit is contained in:
committed by
Facebook Github Bot
parent
fa171b4fe7
commit
517d07ddcf
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user