forked from qt-creator/qt-creator
Cmb: Workaround for gcc 4.7 bug
The default constructor has no noexcept specifier for gcc 4.7 Change-Id: If204c19e21bc368d755c8d6508fd490f71be6f6c Reviewed-by: Nikolai Kosjar <nikolai.kosjar@theqtcompany.com>
This commit is contained in:
committed by
Nikolai Kosjar
parent
6c780c765e
commit
e2d60fdcc3
@@ -47,6 +47,12 @@ public:
|
||||
|
||||
const char *what() const Q_DECL_NOEXCEPT override;
|
||||
|
||||
#ifdef __GNUC__
|
||||
# if !__GNUC_PREREQ(4,8)
|
||||
~TranslationUnitParseErrorException() noexcept {}
|
||||
# endif
|
||||
#endif
|
||||
|
||||
private:
|
||||
Utf8String filePath_;
|
||||
Utf8String projectPartId_;
|
||||
|
||||
Reference in New Issue
Block a user