Workaround GCC 8-9 regression

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87531
This commit is contained in:
Nikita Kniazev
2018-10-05 18:45:58 +03:00
parent a3916b46a9
commit 350ebab88a

View File

@ -71,7 +71,7 @@ class tc_optional_base : public optional_tag
// Assigns from another optional<T> (deep-copies the rhs value)
void assign ( tc_optional_base const& rhs )
{
this->operator=(rhs);
*this = rhs;
}
// Assigns from another _convertible_ optional<U> (deep-copies the rhs value)