diff options
Diffstat (limited to 'src/lib/corelib/tools/msvcinfo.cpp')
-rw-r--r-- | src/lib/corelib/tools/msvcinfo.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/corelib/tools/msvcinfo.cpp b/src/lib/corelib/tools/msvcinfo.cpp index 0a79df87e..0d22a9a56 100644 --- a/src/lib/corelib/tools/msvcinfo.cpp +++ b/src/lib/corelib/tools/msvcinfo.cpp @@ -124,7 +124,7 @@ public: static QStringList parseCommandLine(const QString &commandLine) { QStringList list; - wchar_t *buf = new wchar_t[commandLine.size() + 1]; + auto buf = new wchar_t[commandLine.size() + 1]; buf[commandLine.toWCharArray(buf)] = 0; int argCount = 0; LPWSTR *args = CommandLineToArgvW(buf, &argCount); |