forked from boostorg/optional
Workaround GCC 8-9 regression
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87531
This commit is contained in:
@ -71,7 +71,7 @@ class tc_optional_base : public optional_tag
|
|||||||
// Assigns from another optional<T> (deep-copies the rhs value)
|
// Assigns from another optional<T> (deep-copies the rhs value)
|
||||||
void assign ( tc_optional_base const& rhs )
|
void assign ( tc_optional_base const& rhs )
|
||||||
{
|
{
|
||||||
this->operator=(rhs);
|
*this = rhs;
|
||||||
}
|
}
|
||||||
|
|
||||||
// Assigns from another _convertible_ optional<U> (deep-copies the rhs value)
|
// Assigns from another _convertible_ optional<U> (deep-copies the rhs value)
|
||||||
|
Reference in New Issue
Block a user