diff --git a/src/exception/vexception.h b/src/exception/vexception.h index e0624d7e0..ce58a7e27 100644 --- a/src/exception/vexception.h +++ b/src/exception/vexception.h @@ -49,7 +49,7 @@ public: * @param e exception */ VException(const VException &e):what(e.What()){} - virtual ~VException() Q_DECL_NOEXCEPT_EXPR(true){} + virtual ~VException() noexcept (true){} /** * @brief raise method raise for exception */ diff --git a/src/exception/vexceptionbadid.h b/src/exception/vexceptionbadid.h index 7facb2bc6..91a407c0c 100644 --- a/src/exception/vexceptionbadid.h +++ b/src/exception/vexceptionbadid.h @@ -57,7 +57,7 @@ public: */ VExceptionBadId(const VExceptionBadId &e) :VException(e), id(e.BadId()), key(e.BadKey()){} - virtual ~VExceptionBadId() Q_DECL_NOEXCEPT_EXPR(true){} + virtual ~VExceptionBadId() noexcept (true){} /** * @brief ErrorMessage return main error message * @return main error message diff --git a/src/exception/vexceptionconversionerror.h b/src/exception/vexceptionconversionerror.h index 6af726bf1..9f725b28f 100644 --- a/src/exception/vexceptionconversionerror.h +++ b/src/exception/vexceptionconversionerror.h @@ -49,7 +49,7 @@ public: */ VExceptionConversionError(const VExceptionConversionError &e) :VException(e), str(e.String()){} - virtual ~VExceptionConversionError() Q_DECL_NOEXCEPT_EXPR(true) {} + virtual ~VExceptionConversionError() noexcept (true) {} /** * @brief ErrorMessage return main error message * @return main error message diff --git a/src/exception/vexceptionemptyparameter.h b/src/exception/vexceptionemptyparameter.h index 5dae4b74b..b514683a9 100644 --- a/src/exception/vexceptionemptyparameter.h +++ b/src/exception/vexceptionemptyparameter.h @@ -53,7 +53,7 @@ public: VExceptionEmptyParameter(const VExceptionEmptyParameter &e) :VException(e), name(e.Name()), tagText(e.TagText()), tagName(e.TagName()), lineNumber(e.LineNumber()){} - virtual ~VExceptionEmptyParameter() Q_DECL_NOEXCEPT_EXPR(true) {} + virtual ~VExceptionEmptyParameter() noexcept (true) {} /** * @brief ErrorMessage return main error message * @return main error message diff --git a/src/exception/vexceptionobjecterror.h b/src/exception/vexceptionobjecterror.h index 888fd4cd2..71e90329b 100644 --- a/src/exception/vexceptionobjecterror.h +++ b/src/exception/vexceptionobjecterror.h @@ -52,7 +52,7 @@ public: VExceptionObjectError(const VExceptionObjectError &e) :VException(e), tagText(e.TagText()), tagName(e.TagName()), lineNumber(e.LineNumber()), moreInfo(e.MoreInformation()){} - virtual ~VExceptionObjectError() Q_DECL_NOEXCEPT_EXPR(true) {} + virtual ~VExceptionObjectError() noexcept (true) {} /** * @brief ErrorMessage return main error message * @return main error message diff --git a/src/exception/vexceptionuniqueid.h b/src/exception/vexceptionuniqueid.h index 9b24fab35..7e8abd569 100644 --- a/src/exception/vexceptionuniqueid.h +++ b/src/exception/vexceptionuniqueid.h @@ -51,7 +51,7 @@ public: */ VExceptionUniqueId(const VExceptionUniqueId &e) :VException(e), tagText(e.TagText()), tagName(e.TagName()), lineNumber(e.LineNumber()){} - virtual ~VExceptionUniqueId() Q_DECL_NOEXCEPT_EXPR(true){} + virtual ~VExceptionUniqueId() noexcept (true){} /** * @brief ErrorMessage return main error message * @return main error message diff --git a/src/exception/vexceptionwrongparameterid.h b/src/exception/vexceptionwrongparameterid.h index 65304c3f8..bc10495c8 100644 --- a/src/exception/vexceptionwrongparameterid.h +++ b/src/exception/vexceptionwrongparameterid.h @@ -51,7 +51,7 @@ public: */ VExceptionWrongParameterId(const VExceptionWrongParameterId &e) :VException(e), tagText(e.TagText()), tagName(e.TagName()), lineNumber(e.LineNumber()){} - virtual ~VExceptionWrongParameterId() Q_DECL_NOEXCEPT_EXPR(true){} + virtual ~VExceptionWrongParameterId() noexcept (true){} /** * @brief ErrorMessage return main error message * @return main error message