summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/corelib/global/qlibraryinfo.cpp2
-rw-r--r--src/corelib/global/qlibraryinfo.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/corelib/global/qlibraryinfo.cpp b/src/corelib/global/qlibraryinfo.cpp
index ed1715ddb5..93d5407184 100644
--- a/src/corelib/global/qlibraryinfo.cpp
+++ b/src/corelib/global/qlibraryinfo.cpp
@@ -287,7 +287,7 @@ QLibraryInfo::buildDate()
\since 5.3
*/
-const char *QLibraryInfo::build()
+const char *QLibraryInfo::build() Q_DECL_NOTHROW
{
static const char data[] = "Qt " QT_VERSION_STR " (" __DATE__ "), "
COMPILER_STRING ", "
diff --git a/src/corelib/global/qlibraryinfo.h b/src/corelib/global/qlibraryinfo.h
index 2a8a3b84b9..0b573c2e6a 100644
--- a/src/corelib/global/qlibraryinfo.h
+++ b/src/corelib/global/qlibraryinfo.h
@@ -59,7 +59,7 @@ public:
static QDate buildDate();
#endif //QT_NO_DATESTRING
- static const char * build();
+ static const char * build() Q_DECL_NOTHROW;
static bool isDebugBuild();