summaryrefslogtreecommitdiffstats
path: root/src/tools/packager/packager.h
diff options
context:
space:
mode:
authorRobert Griebl <robert.griebl@pelagicore.com>2017-03-13 01:22:24 +0100
committerDominik Holland <dominik.holland@pelagicore.com>2017-03-14 08:49:31 +0000
commit2d43321b0f9c4dcb38386817209550e4ef80c38e (patch)
treec8b8629ccb3a0627e811fb37749d3b32e5dff912 /src/tools/packager/packager.h
parentb8565f19911bb84be16e09967ff029b8991f063d (diff)
Replace C++03 throw(Exception) specifications with C++11 noexcept(false)
Newer clang versions already complain about throw(foo) being deprecated in C++17. Of course MSVC2013 has no support for plain noexcept(bool), so we have to make do with the unwieldly Q_DECL_NOEXCEPT_EXPR(false) as long as we need to support it. Change-Id: Id5d6890213fa019753dec624b71db8aefe010e7c Reviewed-by: Dominik Holland <dominik.holland@pelagicore.com>
Diffstat (limited to 'src/tools/packager/packager.h')
-rw-r--r--src/tools/packager/packager.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/tools/packager/packager.h b/src/tools/packager/packager.h
index 07eafa5f..34c31b99 100644
--- a/src/tools/packager/packager.h
+++ b/src/tools/packager/packager.h
@@ -48,7 +48,7 @@ public:
static Packager *storeVerify(const QString &sourceName, const QStringList &certificateFiles,
const QString &hardwareId);
- void execute() throw (QT_PREPEND_NAMESPACE_AM(Exception));
+ void execute() Q_DECL_NOEXCEPT_EXPR(false);
QByteArray packageDigest() const;
QString output() const;