C++: operator<< (std::ostream&, const object&): fix missing double support

git-svn-id: file:///Users/frsyuki/project/msgpack-git/svn/x@83 5a5092ae-2292-43ba-b2d5-dcab9c1a2731
This commit is contained in:
frsyuki 2009-02-15 09:09:59 +00:00
parent 8be25a7f32
commit 05b63f6c87

View File

@ -41,6 +41,10 @@ std::ostream& operator<< (std::ostream& s, const object o)
s << o.via.i64;
break;
case type::DOUBLE:
s << o.via.dec;
break;
case type::RAW:
(s << '"').write(o.via.ref.ptr, o.via.ref.size) << '"';
break;