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:
parent
d9ce5c35df
commit
208acff3fc
@ -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 ", "
|
||||
|
@ -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();
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user