Revert D48767465: C++ Cleanup 5/N: Reorganize Utils

Differential Revision:
D48767465

Original commit changeset: da7157953292

Original Phabricator Diff: D48767465

fbshipit-source-id: 0dd948e2c4e6b3aaeb6e197b28b565c0b385d033
This commit is contained in:
Zhiyao Zhou
2023-08-29 23:27:25 -07:00
committed by Facebook GitHub Bot
parent 7cf0483b17
commit 4c0e89e492
13 changed files with 398 additions and 413 deletions

View File

@@ -6,7 +6,7 @@
*/
#include <yoga/style/Style.h>
#include <yoga/numeric/Comparison.h>
#include <yoga/Utils.h>
namespace facebook::yoga {
@@ -21,7 +21,7 @@ bool operator==(const Style& lhs, const Style& rhs) {
lhs.positionType() == rhs.positionType() &&
lhs.flexWrap() == rhs.flexWrap() && lhs.overflow() == rhs.overflow() &&
lhs.display() == rhs.display() &&
yoga::inexactEquals(lhs.flexBasis(), rhs.flexBasis()) &&
YGValueEqual(lhs.flexBasis(), rhs.flexBasis()) &&
lhs.margin() == rhs.margin() && lhs.position() == rhs.position() &&
lhs.padding() == rhs.padding() && lhs.border() == rhs.border() &&
lhs.gap() == rhs.gap() && lhs.dimensions() == rhs.dimensions() &&