made chat_message's operator<< inline, so there are no linker errors

This commit is contained in:
Kjistóf 2016-12-05 14:17:15 +01:00
parent 3faabb1e4e
commit 2b82fc3e1a

View File

@ -37,7 +37,7 @@ namespace chat
{ return sizeof(char) + _content.size() + sizeof(char); } { return sizeof(char) + _content.size() + sizeof(char); }
}; };
std::ostream& operator<<(std::ostream& os, const chat_message& msg) inline std::ostream& operator<<(std::ostream& os, const chat_message& msg)
{ return os << msg.get(); } { return os << msg.get(); }
} }