summaryrefslogtreecommitdiff
path: root/src/windeployqt
diff options
context:
space:
mode:
authorFriedemann Kleint <Friedemann.Kleint@qt.io>2018-12-10 11:39:37 +0100
committerFriedemann Kleint <Friedemann.Kleint@qt.io>2018-12-19 16:04:29 +0000
commit3af74eba706d7ad76ff86d81db2c61addf8745a6 (patch)
tree5f4c7fca628360d7393d65441571e6d1aa9e9880 /src/windeployqt
parent4e823c69ec36b648d6126ae5ec031f58d1372ab4 (diff)
downloadqttools-3af74eba706d7ad76ff86d81db2c61addf8745a6.tar.gz
windeployqt: Replace typedef by using
Fix the respective Clang-tidy warning: utils.h:85: warning: use 'using' instead of 'typedef' [modernize-use-using] as displayed in the Qt Creator issues pane. Change-Id: Ide04ff3bc426ec55b9cdcc1b511119089d6750d8 Reviewed-by: Joerg Bornemann <joerg.bornemann@qt.io>
Diffstat (limited to 'src/windeployqt')
-rw-r--r--src/windeployqt/main.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/windeployqt/main.cpp b/src/windeployqt/main.cpp
index e1e68c0ab..6b6e67d6c 100644
--- a/src/windeployqt/main.cpp
+++ b/src/windeployqt/main.cpp
@@ -310,7 +310,7 @@ enum CommandLineParseFlag {
static inline int parseArguments(const QStringList &arguments, QCommandLineParser *parser,
Options *options, QString *errorMessage)
{
- typedef QSharedPointer<QCommandLineOption> CommandLineOptionPtr;
+ using CommandLineOptionPtr = QSharedPointer<QCommandLineOption>;
using OptionPtrVector = QVector<CommandLineOptionPtr>;
parser->setSingleDashWordOptionMode(QCommandLineParser::ParseAsLongOptions);