fix expected (#1754)

This commit is contained in:
Matthew Kennedy 2020-09-03 11:56:55 -07:00 committed by GitHub
parent ce87837309
commit 5213037237
1 changed files with 1 additions and 1 deletions

View File

@ -38,7 +38,7 @@ struct expected {
}
// Easy default value handling
constexpr float value_or(TValue valueIfInvalid) const {
constexpr TValue value_or(TValue valueIfInvalid) const {
return Valid ? Value : valueIfInvalid;
}