Bug 1250666 - Forward Variant's move constructor argument correctly to the underlying variant type. r=waldo

This commit is contained in:
Seth Fowler 2016-02-26 21:01:49 -08:00
parent 09c97b5b63
commit 57081a13af

View File

@ -433,7 +433,7 @@ public:
explicit Variant(RefT&& aT)
: tag(Impl::template tag<T>())
{
new (ptr()) T(Forward<T>(aT));
new (ptr()) T(Forward<RefT>(aT));
}
/**