Moved serialize operator.

This commit is contained in:
Takatoshi Kondo
2015-03-10 21:14:20 +09:00
parent b0ff2802d2
commit 79a127a8b6
2 changed files with 9 additions and 7 deletions

View File

@@ -196,13 +196,6 @@ struct packer_serializer {
};
}
// serialize operator
template <typename Stream, typename T>
inline msgpack::packer<Stream>& operator<< (msgpack::packer<Stream>& o, const T& v)
{
return detail::packer_serializer<Stream, T>::pack(o, v);
}
inline void operator<< (msgpack::object::with_zone& o, const msgpack::object& v)
{
o.type = v.type;