Merge pull request #60 from Kojoley/workaround-gcc-8-9-regression

Workaround GCC 8-9 regression
This commit is contained in:
Andrzej Krzemieński
2018-10-15 16:36:17 +02:00
committed by GitHub

View File

@@ -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)