Skip to content

Commit fbe141c

Browse files
davidaureliofacebook-github-bot
authored andcommitted
Remove unused constexpr
Summary: @public Removes unused constexpr variables from YGStyle. Not polluting the global namespace is a good thing. Reviewed By: SidharthGuglani Differential Revision: D13816817 fbshipit-source-id: e4c27a8f2de466ccb759bbe52cdaea6fe451b961
1 parent e17a621 commit fbe141c

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

ReactCommon/yoga/yoga/YGStyle.h

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -20,10 +20,6 @@
2020
#define BITFIELD_ENUM_SIZED(num)
2121
#endif
2222

23-
constexpr YGValue kYGValueUndefined = {0, YGUnitUndefined};
24-
25-
constexpr YGValue kYGValueAuto = {0, YGUnitAuto};
26-
2723
struct YGStyle {
2824
private:
2925
using CompactValue = facebook::yoga::detail::CompactValue;

0 commit comments

Comments
 (0)