diff options
-rw-r--r-- | src/corelib/global/qlibraryinfo.cpp | 2 | ||||
-rw-r--r-- | src/corelib/global/qlibraryinfo.h | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/corelib/global/qlibraryinfo.cpp b/src/corelib/global/qlibraryinfo.cpp index 0ae41cc48e..dc19ec0b98 100644 --- a/src/corelib/global/qlibraryinfo.cpp +++ b/src/corelib/global/qlibraryinfo.cpp @@ -291,7 +291,7 @@ const char *QLibraryInfo::build() noexcept false if it was built in release mode. */ bool -QLibraryInfo::isDebugBuild() +QLibraryInfo::isDebugBuild() noexcept { #ifdef QT_DEBUG return true; diff --git a/src/corelib/global/qlibraryinfo.h b/src/corelib/global/qlibraryinfo.h index a7d44768c8..6753bf9121 100644 --- a/src/corelib/global/qlibraryinfo.h +++ b/src/corelib/global/qlibraryinfo.h @@ -51,7 +51,7 @@ class Q_CORE_EXPORT QLibraryInfo public: static const char *build() noexcept; - static bool isDebugBuild(); + static bool isDebugBuild() noexcept Q_DECL_CONST_FUNCTION; #ifndef QT_BOOTSTRAPPED static QVersionNumber version() noexcept Q_DECL_CONST_FUNCTION; |