summaryrefslogtreecommitdiffstats
path: root/src/render/framegraph/rendersurfaceselector_p.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/render/framegraph/rendersurfaceselector_p.h')
-rw-r--r--src/render/framegraph/rendersurfaceselector_p.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/render/framegraph/rendersurfaceselector_p.h b/src/render/framegraph/rendersurfaceselector_p.h
index 3378ececa..b3ab9032d 100644
--- a/src/render/framegraph/rendersurfaceselector_p.h
+++ b/src/render/framegraph/rendersurfaceselector_p.h
@@ -71,9 +71,9 @@ public:
void syncFromFrontEnd(const Qt3DCore::QNode *frontEnd, bool firstTime) override;
QSurface *surface() const { return m_surface; }
- inline int width() const Q_DECL_NOTHROW { return m_width; }
- inline int height() const Q_DECL_NOTHROW { return m_height; }
- inline float devicePixelRatio() const Q_DECL_NOTHROW { return m_devicePixelRatio; }
+ inline int width() const noexcept { return m_width; }
+ inline int height() const noexcept { return m_height; }
+ inline float devicePixelRatio() const noexcept { return m_devicePixelRatio; }
private:
QObject *m_surfaceObj;