diff options
author | Christian Kandeler <christian.kandeler@theqtcompany.com> | 2014-11-20 14:04:16 +0100 |
---|---|---|
committer | Christian Kandeler <christian.kandeler@theqtcompany.com> | 2014-11-20 15:05:27 +0100 |
commit | a390e69a389c4e00be5d3eb42a35d069f14a3614 (patch) | |
tree | a94d94bf51fca3a2c769385c3d50850ad0bd4e4e | |
parent | 440ec079b33a8c635e6d035ef8c5cb44341dfcf3 (diff) |
Fix compilation on Windows.
Q_NORETURN belongs *before* the rest of the function declaration...
Change-Id: Ib91cc7902f35acdb42d0039998b02b8f26f96eea
Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@theqtcompany.com>
-rw-r--r-- | src/lib/corelib/tools/qbsassert.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lib/corelib/tools/qbsassert.h b/src/lib/corelib/tools/qbsassert.h index 82d2ac5e3..de75c173d 100644 --- a/src/lib/corelib/tools/qbsassert.h +++ b/src/lib/corelib/tools/qbsassert.h @@ -41,8 +41,8 @@ namespace qbs { namespace Internal { -void QBS_EXPORT writeAssertLocation(const char *condition, const char *file, int line); -void QBS_EXPORT throwAssertLocation(const char *condition, const char *file, int line) Q_NORETURN; +QBS_EXPORT void writeAssertLocation(const char *condition, const char *file, int line); +QBS_EXPORT Q_NORETURN void throwAssertLocation(const char *condition, const char *file, int line); } // namespace Internal } // namespace qbs |