diff options
Diffstat (limited to 'src/gui/util')
-rw-r--r-- | src/gui/util/qshaderformat.cpp | 4 | ||||
-rw-r--r-- | src/gui/util/qshaderformat_p.h | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/src/gui/util/qshaderformat.cpp b/src/gui/util/qshaderformat.cpp index ea86dd6ca5..d56dfc413e 100644 --- a/src/gui/util/qshaderformat.cpp +++ b/src/gui/util/qshaderformat.cpp @@ -123,12 +123,12 @@ bool QShaderFormat::supports(const QShaderFormat &other) const noexcept return true; } -QShaderFormat::ShaderType QShaderFormat::shaderType() const Q_DECL_NOTHROW +QShaderFormat::ShaderType QShaderFormat::shaderType() const noexcept { return m_shaderType; } -void QShaderFormat::setShaderType(QShaderFormat::ShaderType shaderType) Q_DECL_NOTHROW +void QShaderFormat::setShaderType(QShaderFormat::ShaderType shaderType) noexcept { m_shaderType = shaderType; } diff --git a/src/gui/util/qshaderformat_p.h b/src/gui/util/qshaderformat_p.h index d9d0378f63..3559c67414 100644 --- a/src/gui/util/qshaderformat_p.h +++ b/src/gui/util/qshaderformat_p.h @@ -96,8 +96,8 @@ public: Q_GUI_EXPORT bool isValid() const noexcept; Q_GUI_EXPORT bool supports(const QShaderFormat &other) const noexcept; - Q_GUI_EXPORT ShaderType shaderType() const Q_DECL_NOTHROW; - Q_GUI_EXPORT void setShaderType(ShaderType shaderType) Q_DECL_NOTHROW; + Q_GUI_EXPORT ShaderType shaderType() const noexcept; + Q_GUI_EXPORT void setShaderType(ShaderType shaderType) noexcept; private: Api m_api; |