Commit 89e2d977 authored by Marc Mutz's avatar Marc Mutz
Browse files

Port from QStringViewLiteral to u""


Now that all our supported compilers know char16_t, we no longer need
QStringViewLiteral, whose only purpose in life was to turn u"" into
L"" for MSVC < 2015.

Change-Id: I1f5f1cb31c8e8278189f7634850b209b46127ce5
Reviewed-by: default avatarOliver Wolff <oliver.wolff@qt.io>
Showing with 1 addition and 1 deletion
...@@ -88,7 +88,7 @@ STDAPI DllUnregisterServer() ...@@ -88,7 +88,7 @@ STDAPI DllUnregisterServer()
STDAPI DllInstall(BOOL bInstall, LPCWSTR pszCmdLine) { STDAPI DllInstall(BOOL bInstall, LPCWSTR pszCmdLine) {
bool perUser = false; // per-user (un)registration bool perUser = false; // per-user (un)registration
if (pszCmdLine) { if (pszCmdLine) {
if (QStringView(pszCmdLine).compare(QStringViewLiteral("user"), Qt::CaseInsensitive) == 0) if (QStringView(pszCmdLine).compare(u"user", Qt::CaseInsensitive) == 0)
perUser = true; perUser = true;
} }
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment