From 0a1a0e9df00f37a210b67a11cf8f99550cafeeaf Mon Sep 17 00:00:00 2001 From: Stanislaw Halik Date: Thu, 25 Oct 2018 03:11:42 +0200 Subject: cleanups only --- gui/init.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'gui/init.cpp') diff --git a/gui/init.cpp b/gui/init.cpp index 09b0e909..a3932047 100644 --- a/gui/init.cpp +++ b/gui/init.cpp @@ -97,7 +97,7 @@ static void set_qt_style() static void qdebug_to_console(QtMsgType, const QMessageLogContext& ctx, const QString &msg) { const unsigned short* const str_ = msg.utf16(); - auto str = reinterpret_cast(str_); + const auto str = reinterpret_cast(str_); static_assert(sizeof(*str_) == sizeof(*str)); std::fflush(stderr); -- cgit v1.2.3