Replaced default constructors with member assignments
Reviewed By: davidaurelio Differential Revision: D10466125 fbshipit-source-id: ed92d1e054a8b5b9a6c8c09035173b11da45c368
This commit is contained in:
committed by
Facebook Github Bot
parent
ba9bd4eae3
commit
fad2ee1a64
@@ -10,15 +10,15 @@
|
||||
#include "Yoga.h"
|
||||
|
||||
struct YGConfig {
|
||||
std::array<bool, YGExperimentalFeatureCount> experimentalFeatures;
|
||||
bool useWebDefaults;
|
||||
bool useLegacyStretchBehaviour;
|
||||
bool shouldDiffLayoutWithoutLegacyStretchBehaviour;
|
||||
float pointScaleFactor;
|
||||
std::array<bool, YGExperimentalFeatureCount> experimentalFeatures = {};
|
||||
bool useWebDefaults = false;
|
||||
bool useLegacyStretchBehaviour = false;
|
||||
bool shouldDiffLayoutWithoutLegacyStretchBehaviour = false;
|
||||
float pointScaleFactor = 1.0f;
|
||||
YGLogger logger;
|
||||
YGCloneNodeFunc cloneNodeCallback;
|
||||
void* context;
|
||||
bool printTree;
|
||||
YGCloneNodeFunc cloneNodeCallback = nullptr;
|
||||
void* context = nullptr;
|
||||
bool printTree = false;
|
||||
|
||||
YGConfig(YGLogger logger);
|
||||
};
|
||||
|
Reference in New Issue
Block a user