From 3b22410e42be27ac30fc63f020243241d1eea737 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Fri, 22 Dec 2017 04:36:26 +0300 Subject: Remove default parameters from chatwindow.h --- src/gui/windows/chatwindow.h | 20 +++++++++----------- 1 file changed, 9 insertions(+), 11 deletions(-) (limited to 'src/gui/windows/chatwindow.h') diff --git a/src/gui/windows/chatwindow.h b/src/gui/windows/chatwindow.h index 7d02e0fd3..051d89288 100644 --- a/src/gui/windows/chatwindow.h +++ b/src/gui/windows/chatwindow.h @@ -145,7 +145,8 @@ class ChatWindow final : public Window, void setInputText(const std::string &text); /** Add the given text to the chat input. */ - void addInputText(const std::string &text, const bool space = true); + void addInputText(const std::string &text, + const bool space); /** Called to add item to chat */ void addItemText(const std::string &item); @@ -189,19 +190,19 @@ class ChatWindow final : public Window, void addWhisper(const std::string &restrict nick, const std::string &restrict mes, - const ChatMsgTypeT own = ChatMsgType::BY_OTHER); + const ChatMsgTypeT own); WhisperTab *addWhisperTab(const std::string &caption, const std::string &nick, - const bool switchTo = false) A_WARN_UNUSED; + const bool switchTo) A_WARN_UNUSED; WhisperTab *getWhisperTab(const std::string &nick) const A_WARN_UNUSED; ChatTab *addChannelTab(const std::string &name, - const bool switchTo = false); + const bool switchTo); ChatTab *addSpecialChannelTab(const std::string &name, - const bool switchTo = false); + const bool switchTo); ChatTab *addChatTab(const std::string &name, const bool switchTo, @@ -221,12 +222,9 @@ class ChatWindow final : public Window, const TryRemoveColors tryRemoveColors); static void battleChatLog(const std::string &line, - ChatMsgTypeT own - = ChatMsgType::BY_UNKNOWN, - const IgnoreRecord ignoreRecord - = IgnoreRecord_false, - const TryRemoveColors tryRemoveColors - = TryRemoveColors_true); + ChatMsgTypeT own, + const IgnoreRecord ignoreRecord, + const TryRemoveColors tryRemoveColors); void channelChatLog(const std::string &channel, const std::string &line, -- cgit v1.2.3-60-g2f50