bump variant dependency

This commit is contained in:
Dennis Luxen 2014-10-20 16:02:26 +02:00
parent c1136099a9
commit d42772a261
2 changed files with 128 additions and 128 deletions

View File

@ -555,7 +555,7 @@ public:
template <typename T> template <typename T>
VARIANT_INLINE variant<Types...>& operator=(T && rhs) noexcept VARIANT_INLINE variant<Types...>& operator=(T && rhs) noexcept
{ {
variant<Types...> temp(std::move(rhs)); variant<Types...> temp(std::forward<T>(rhs));
swap(*this, temp); swap(*this, temp);
return *this; return *this;
} }