WIP: FloatOptional GCC build fix and more constexpr #1411
@@ -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_);
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
Reference in New Issue
Block a user