Fix exhaustive switches #1824

Open
NSProgrammer wants to merge 1 commits from NSProgrammer/export-D77051152 into main

View File

@@ -72,10 +72,10 @@ inline bool operator==(const YGValue& lhs, const YGValue& rhs) {
case YGUnitPoint:
case YGUnitPercent:
return lhs.value == rhs.value;
}
default:
return false;
}
}
inline bool operator!=(const YGValue& lhs, const YGValue& rhs) {
return !(lhs == rhs);