mirror of
https://github.com/TartanLlama/optional.git
synced 2025-07-29 17:37:13 +02:00
Fix #55
This commit is contained in:
@ -1182,7 +1182,7 @@ public:
|
||||
}
|
||||
}
|
||||
|
||||
if (rhs.has_value()) {
|
||||
else if (rhs.has_value()) {
|
||||
this->construct(*rhs);
|
||||
}
|
||||
|
||||
@ -1204,7 +1204,7 @@ public:
|
||||
}
|
||||
}
|
||||
|
||||
if (rhs.has_value()) {
|
||||
else if (rhs.has_value()) {
|
||||
this->construct(std::move(*rhs));
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user