From a390e69a389c4e00be5d3eb42a35d069f14a3614 Mon Sep 17 00:00:00 2001 From: Christian Kandeler Date: Thu, 20 Nov 2014 14:04:16 +0100 Subject: Fix compilation on Windows. Q_NORETURN belongs *before* the rest of the function declaration... Change-Id: Ib91cc7902f35acdb42d0039998b02b8f26f96eea Reviewed-by: Oswald Buddenhagen --- src/lib/corelib/tools/qbsassert.h | 4 ++-- 1 file 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 -- cgit v1.2.3