mirror of
https://github.com/msgpack/msgpack-c.git
synced 2025-11-01 21:13:12 +01:00
Merge pull request #97 from splinterofchaos/ostream
Add inline for ODR compliance.
This commit is contained in:
@@ -468,7 +468,7 @@ packer<Stream>& operator<< (packer<Stream>& o, const object& v)
|
||||
}
|
||||
}
|
||||
|
||||
std::ostream& operator<< (std::ostream& s, const object& o)
|
||||
inline std::ostream& operator<< (std::ostream& s, const object& o)
|
||||
{
|
||||
switch(o.type) {
|
||||
case type::NIL:
|
||||
|
||||
Reference in New Issue
Block a user