diff options
author | Christian Kandeler <christian.kandeler@qt.io> | 2017-10-30 15:54:06 +0100 |
---|---|---|
committer | Christian Kandeler <christian.kandeler@qt.io> | 2017-10-30 15:13:57 +0000 |
commit | a4586e52f2e027d9cd3810302569eec152bcfc54 (patch) | |
tree | 02ea617bf448afbfa296257743a67e07c726c28e /tests/benchmarker | |
parent | c683b0274a026103f37ebb5bc57f12bb3f45cf36 (diff) |
Use the [[noreturn]] attribute instead of Q_NORETURN
We can do this now that we require MSVC 2015.
Change-Id: I77be55435d4db6c6ff17afeff779e163cf3803fb
Reviewed-by: Jake Petroules <jake.petroules@qt.io>
Diffstat (limited to 'tests/benchmarker')
-rw-r--r-- | tests/benchmarker/commandlineparser.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/benchmarker/commandlineparser.h b/tests/benchmarker/commandlineparser.h index 0e4eb707a..bdb3b0eda 100644 --- a/tests/benchmarker/commandlineparser.h +++ b/tests/benchmarker/commandlineparser.h @@ -48,9 +48,9 @@ public: QString qbsRepoDirPath() const { return m_qbsRepoDirPath; } private: - Q_NORETURN void throwException(const QString &optionName, const QString &illegalValue, + [[noreturn]] void throwException(const QString &optionName, const QString &illegalValue, const QString &helpText); - Q_NORETURN void throwException(const QString &missingOption, const QString &helpText); + [[noreturn]] void throwException(const QString &missingOption, const QString &helpText); Activities m_activities; QString m_oldCommit; |