Bug 823553 - Fix build error in Variant.h on MSVC 2008 and Solaris by not taking double-references. r=mak

This commit is contained in:
Justin Lebar 2012-12-20 15:44:25 -05:00
parent a60bea2d34
commit 625786aaf8

View File

@ -315,7 +315,7 @@ template <typename DataType>
class Variant : public Variant_base
{
public:
Variant(const typename variant_storage_traits<DataType>::ConstructorType& aData)
Variant(const typename variant_storage_traits<DataType>::ConstructorType aData)
{
variant_storage_traits<DataType>::storage_conversion(aData, &mData);
}