From: Sebastian Goth Date: Tue, 29 Jul 2008 12:39:39 +0000 (+0200) Subject: Added trailing whitespace after each <<() to adopt qDebug() behaviour X-Git-Tag: 0.3.0~193 X-Git-Url: https://git.quassel-irc.org/?p=quassel.git;a=commitdiff_plain;h=610c75a0967540e29ebd45c63693dd8b9eac6763 Added trailing whitespace after each <<() to adopt qDebug() behaviour --- diff --git a/src/common/logger.h b/src/common/logger.h index 113fc562..f5a6ff59 100644 --- a/src/common/logger.h +++ b/src/common/logger.h @@ -40,9 +40,9 @@ class Logger { ~Logger(); template - inline Logger &operator<<(const T &value) { _stream << value; return *this; } - inline Logger &operator<<(const QStringList & t) { _stream << t.join(" "); return *this; } - inline Logger &operator<<(bool t) { _stream << (t ? "true" : "false"); return *this; } + inline Logger &operator<<(const T &value) { _stream << value << " "; return *this; } + inline Logger &operator<<(const QStringList & t) { _stream << t.join(" ") << " "; return *this; } + inline Logger &operator<<(bool t) { _stream << (t ? "true" : "false") << " "; return *this; } private: void log();