Revert D48767992: C++ Cleanup 6/N: YGFloatOptional
Differential Revision: D48767992 Original commit changeset: afaff0234359 Original Phabricator Diff: D48767992 fbshipit-source-id: 4666bdbb83aebbf2f7373b3a10a8c1dd0a03f92c
This commit is contained in:
committed by
Facebook GitHub Bot
parent
8a95b785a8
commit
7cf0483b17
@@ -8,7 +8,7 @@
|
||||
#pragma once
|
||||
|
||||
#include <yoga/BitUtils.h>
|
||||
#include <yoga/numeric/FloatOptional.h>
|
||||
#include <yoga/YGFloatOptional.h>
|
||||
#include <yoga/Yoga-internal.h>
|
||||
|
||||
namespace facebook::yoga {
|
||||
@@ -28,7 +28,7 @@ private:
|
||||
|
||||
public:
|
||||
uint32_t computedFlexBasisGeneration = 0;
|
||||
FloatOptional computedFlexBasis = {};
|
||||
YGFloatOptional computedFlexBasis = {};
|
||||
|
||||
// Instead of recomputing the entire layout every single time, we cache some
|
||||
// information to break early when nothing changed
|
||||
|
Reference in New Issue
Block a user