C++ style enums 4/N: Errata (#1388)
Summary: X-link: https://github.com/facebook/react-native/pull/39451 Pull Request resolved: https://github.com/facebook/yoga/pull/1388 This converts usages of YGErrata to Errata Reviewed By: rozele Differential Revision: D49270354 fbshipit-source-id: 39c0d26a1609cca0a96da843796ab41c81e3af93
This commit is contained in:
committed by
Facebook GitHub Bot
parent
42e1f2c737
commit
6f5eaefc51
@@ -14,6 +14,7 @@
|
||||
#include <yoga/Yoga.h>
|
||||
|
||||
#include <yoga/config/Config.h>
|
||||
#include <yoga/enums/Errata.h>
|
||||
#include <yoga/enums/NodeType.h>
|
||||
#include <yoga/node/LayoutResults.h>
|
||||
#include <yoga/style/CompactValue.h>
|
||||
@@ -109,7 +110,7 @@ class YG_EXPORT Node : public ::YGNode {
|
||||
|
||||
float baseline(float width, float height) const;
|
||||
|
||||
bool hasErrata(YGErrata errata) const {
|
||||
bool hasErrata(Errata errata) const {
|
||||
return config_->hasErrata(errata);
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user