mirror of
https://github.com/TartanLlama/optional.git
synced 2025-07-30 09:57: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);
|
this->construct(*rhs);
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -1204,7 +1204,7 @@ public:
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
if (rhs.has_value()) {
|
else if (rhs.has_value()) {
|
||||||
this->construct(std::move(*rhs));
|
this->construct(std::move(*rhs));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user