diff --git a/chat_messages.hpp b/chat_messages.hpp index 88265b6..74db078 100644 --- a/chat_messages.hpp +++ b/chat_messages.hpp @@ -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::type header_integral, std::string content)