WIP: FloatOptional GCC build fix and more constexpr #1411

Closed
NickGerleman wants to merge 22 commits from NickGerleman-fix-gcc-floatoptional into main
3 changed files with 41 additions and 40 deletions
Showing only changes of commit b13d8d220e - Show all commits

View File

@@ -82,7 +82,7 @@ constexpr FloatOptional maxOrDefined(FloatOptional lhs, FloatOptional rhs) {
return FloatOptional{yoga::maxOrDefined(lhs.unwrap(), rhs.unwrap())}; return FloatOptional{yoga::maxOrDefined(lhs.unwrap(), rhs.unwrap())};
} }
constexpr bool inexactEquals(FloatOptional lhs, FloatOptional rhs) { inline bool inexactEquals(FloatOptional lhs, FloatOptional rhs) {
return yoga::inexactEquals(lhs.unwrap(), rhs.unwrap()); return yoga::inexactEquals(lhs.unwrap(), rhs.unwrap());
} }