Skip to content

Commit aef95c1

Browse files
committed
Fix copy and paste typo
1 parent e0d00a0 commit aef95c1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/app/data-model/Nullable.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ struct Nullable : protected std::optional<T>
7171
template <typename... Args>
7272
constexpr auto Value(Args &&... args) const
7373
{
74-
return std::optional<T>::value_or(std::forward<Args>(args)...);
74+
return std::optional<T>::value(std::forward<Args>(args)...);
7575
}
7676

7777
// For integer types, being nullable involves a range restriction.

0 commit comments

Comments
 (0)