diff options
author | Friedemann Kleint <Friedemann.Kleint@qt.io> | 2018-12-10 11:39:37 +0100 |
---|---|---|
committer | Friedemann Kleint <Friedemann.Kleint@qt.io> | 2018-12-19 16:04:29 +0000 |
commit | 3af74eba706d7ad76ff86d81db2c61addf8745a6 (patch) | |
tree | 5f4c7fca628360d7393d65441571e6d1aa9e9880 /src/windeployqt | |
parent | 4e823c69ec36b648d6126ae5ec031f58d1372ab4 (diff) | |
download | qttools-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.cpp | 2 |
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); |