fix expected (#1754)
This commit is contained in:
parent
5d739d8976
commit
42737ef74e
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue