Add inline for ODR compliance.

This commit is contained in:
Scott Prager
2014-07-24 15:04:33 -04:00
parent 421aeb5021
commit 6fab3594a2

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) {
case type::NIL: