Merge pull request #97 from splinterofchaos/ostream

Add inline for ODR compliance.
This commit is contained in:
Takatoshi Kondo
2014-07-25 09:19:55 +09:00

View File

@@ -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) { switch(o.type) {
case type::NIL: case type::NIL: