diff options
Diffstat (limited to 'tests')
-rw-r--r-- | tests/auto/blackbox/testdata-qt/qml-debugging/main.cpp | 4 | ||||
-rw-r--r-- | tests/benchmarker/benchmarker.h | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/tests/auto/blackbox/testdata-qt/qml-debugging/main.cpp b/tests/auto/blackbox/testdata-qt/qml-debugging/main.cpp index 535d6d63f..7311f2d60 100644 --- a/tests/auto/blackbox/testdata-qt/qml-debugging/main.cpp +++ b/tests/auto/blackbox/testdata-qt/qml-debugging/main.cpp @@ -32,13 +32,13 @@ #if (QT_VERSION >= QT_VERSION_CHECK(5, 0, 0)) #include <QGuiApplication> #include <QQmlApplicationEngine> -typedef QGuiApplication Application; +using Application = QGuiApplication; #define AH_SO_THIS_IS_QT5 #else #include <QApplication> #include <QDeclarativeView> #define AH_SO_THIS_IS_QT4 -typedef QApplication Application; +using Application = QApplication; #endif int main(int argc, char *argv[]) diff --git a/tests/benchmarker/benchmarker.h b/tests/benchmarker/benchmarker.h index 7027c9d15..9b6d5a157 100644 --- a/tests/benchmarker/benchmarker.h +++ b/tests/benchmarker/benchmarker.h @@ -48,7 +48,7 @@ public: qint64 oldPeakMemoryUsage; qint64 newPeakMemoryUsage; }; -typedef QHash<Activity, BenchmarkResult> BenchmarkResults; +using BenchmarkResults = QHash<Activity, BenchmarkResult>; class Benchmarker { |