common: Fix build with Qt4 and/or MSVC
authorManuel Nickschas <sputnick@quassel-irc.org>
Sun, 3 Sep 2017 23:43:24 +0000 (01:43 +0200)
committerManuel Nickschas <sputnick@quassel-irc.org>
Sun, 3 Sep 2017 23:43:24 +0000 (01:43 +0200)
commit0fa9ff5b58bf321654204867bb118a8d727d7b16
treef90d8e3d98e6dd3c113817c9fb9274c9a2dc8b0b
parentb06a827aea68b050bf23c37e0162189a94595ee9
common: Fix build with Qt4 and/or MSVC

The previous commit caused a build failure for some combinations of
our build matrix, as QChar is not actually a literal usable in a
constexpr (unless you enable Qt5, for some bizarre reason...).
src/common/util.cpp