Used the reference version of convert instead of pointer version.

This commit is contained in:
Takatoshi Kondo 2013-09-05 13:18:51 +09:00
parent 541ece13c0
commit c41154989a

View File

@ -378,7 +378,7 @@ inline object::operator msgpack_object() const
template <typename T>
inline void convert(T& v, object const& o)
{
o.convert(&v);
o.convert(v);
}
// obsolete