added default empty content to chat_message ctor

This commit is contained in:
Kjistóf 2016-11-29 18:46:09 +01:00
parent 8cddc402f1
commit 271faf4b0c

View File

@ -19,7 +19,7 @@ class chat_message
std::string _content;
public:
chat_message(message header, std::string content)
chat_message(message header, std::string content = "")
:_header(header), _content(content) {}
chat_message(std::underlying_type<message>::type header_integral, std::string content)