diff options
Diffstat (limited to 'gui/init.cpp')
-rw-r--r-- | gui/init.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
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<const wchar_t* const>(str_); + const auto str = reinterpret_cast<wchar_t const*>(str_); static_assert(sizeof(*str_) == sizeof(*str)); std::fflush(stderr); |