WIP: FloatOptional GCC build fix and more constexpr #1411

Closed
NickGerleman wants to merge 22 commits from NickGerleman-fix-gcc-floatoptional into main
Showing only changes of commit c0449263d9 - Show all commits

View File

@@ -29,7 +29,7 @@ struct FloatOptional {
return isUndefined() ? defaultValue : value_; return isUndefined() ? defaultValue : value_;
} }
bool isUndefined() const { constexpr bool isUndefined() const {
return std::isnan(value_); return std::isnan(value_);
} }
}; };