added default empty content to chat_message ctor
This commit is contained in:
parent
8cddc402f1
commit
271faf4b0c
@ -19,7 +19,7 @@ class chat_message
|
|||||||
std::string _content;
|
std::string _content;
|
||||||
|
|
||||||
public:
|
public:
|
||||||
chat_message(message header, std::string content)
|
chat_message(message header, std::string content = "")
|
||||||
:_header(header), _content(content) {}
|
:_header(header), _content(content) {}
|
||||||
|
|
||||||
chat_message(std::underlying_type<message>::type header_integral, std::string content)
|
chat_message(std::underlying_type<message>::type header_integral, std::string content)
|
||||||
|
Loading…
Reference in New Issue
Block a user