fix expected (#1754)

This commit is contained in:
Matthew Kennedy 2020-09-03 11:56:55 -07:00 committed by GitHub
parent 5d739d8976
commit 42737ef74e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
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;
}