From 271faf4b0cbf7f3034708ccf0c08af079c45d104 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Kjist=C3=B3f?= Date: Tue, 29 Nov 2016 18:46:09 +0100 Subject: [PATCH] added default empty content to chat_message ctor --- chat_messages.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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)