QLibraryInfo: mark build() function as nothrow

Change-Id: Ie95fa52e4e00fd0747d3554c9f2a4d8076faaaf6
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@digia.com>
Reviewed-by: Lars Knoll <lars.knoll@digia.com>
This commit is contained in:
Marc Mutz 2014-02-20 23:22:43 +01:00 committed by The Qt Project
parent d9ce5c35df
commit 208acff3fc
2 changed files with 2 additions and 2 deletions

View File

@ -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 ", "

View File

@ -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();