made chat_message's operator<< inline, so there are no linker errors
This commit is contained in:
parent
3faabb1e4e
commit
2b82fc3e1a
@ -37,7 +37,7 @@ namespace chat
|
||||
{ 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(); }
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user