mirror of
https://github.com/msgpack/msgpack-c.git
synced 2025-10-16 18:56:54 +02:00
Merge branch 'master' of https://github.com/kraj/msgpack-c into kraj-master
This commit is contained in:
@@ -661,7 +661,7 @@ inline object::object(const msgpack_object& o)
|
|||||||
inline void operator<< (msgpack::object& o, const msgpack_object& v)
|
inline void operator<< (msgpack::object& o, const msgpack_object& v)
|
||||||
{
|
{
|
||||||
// FIXME beter way?
|
// FIXME beter way?
|
||||||
std::memcpy(&o, &v, sizeof(v));
|
std::memcpy(static_cast<void*>(&o), &v, sizeof(v));
|
||||||
}
|
}
|
||||||
|
|
||||||
inline object::operator msgpack_object() const
|
inline object::operator msgpack_object() const
|
||||||
|
Reference in New Issue
Block a user