X-Git-Url: http://git.tdb.fi/?p=libs%2Fcore.git;a=blobdiff_plain;f=source%2Fcore%2Fvariant.h;fp=source%2Fcore%2Fvariant.h;h=60501f3308e0c36e54ab4c5bafac4379f279db58;hp=934a9e539276e3ad406a6b05b00e01cd3d964ca0;hb=e272f71f368f3f33643c7e935110dd92cc9d4d3a;hpb=22c9118827a07fbbe12af916d25ee03dd0b3c9bd diff --git a/source/core/variant.h b/source/core/variant.h index 934a9e5..60501f3 100644 --- a/source/core/variant.h +++ b/source/core/variant.h @@ -131,13 +131,13 @@ private: template -inline void Variant::assign(const T &value) +inline void Variant::assign(const T &v) { if(funcs) funcs->destroy(storage); funcs = get_functions::type>(); - create(storage, value); + create(storage, v); } inline void Variant::copy_from(const Variant &v)