Fix #15
This commit is contained in:
1 parent
b53059c63d
commit
3449fbc904
2 files changed
+16
-1
No files matched your search
+1
-1
@@ -424,7 +424,7 @@ template <class T> struct optional_operations_base : optional_storage_base<T> {
|
||||
}
|
||||
}
|
||||
|
||||
if (rhs.has_value()) {
|
||||
else if (rhs.has_value()) {
|
||||
construct(std::forward<Opt>(rhs).get());
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user