We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e0d00a0 commit aef95c1Copy full SHA for aef95c1
src/app/data-model/Nullable.h
@@ -71,7 +71,7 @@ struct Nullable : protected std::optional<T>
71
template <typename... Args>
72
constexpr auto Value(Args &&... args) const
73
{
74
- return std::optional<T>::value_or(std::forward<Args>(args)...);
+ return std::optional<T>::value(std::forward<Args>(args)...);
75
}
76
77
// For integer types, being nullable involves a range restriction.
0 commit comments