From 963cbbaa420b12e810d23820b78f73c3eaaa15a8 Mon Sep 17 00:00:00 2001 From: Allan Sandfeld Jensen Date: Fri, 30 Oct 2020 16:00:24 +0100 Subject: Replace old Q_DECL statements with modern C++ Since we depend on C++17 now, all of these can go. Change-Id: I0484fd4bb99e4367ec211c29146c316453729959 Reviewed-by: Volker Hilsheimer --- src/particles/qquickparticlesystem_p.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/particles/qquickparticlesystem_p.h') diff --git a/src/particles/qquickparticlesystem_p.h b/src/particles/qquickparticlesystem_p.h index d38cd9007a..0269b8a583 100644 --- a/src/particles/qquickparticlesystem_p.h +++ b/src/particles/qquickparticlesystem_p.h @@ -335,7 +335,7 @@ public: QV4::ReturnedValue v4Value(QQuickParticleSystem *particleSystem); void extendLife(float time, QQuickParticleSystem *particleSystem); - static inline Q_DECL_CONSTEXPR float EPSILON() Q_DECL_NOTHROW { return 0.001f; } + static inline constexpr float EPSILON() noexcept { return 0.001f; } private: QQuickV4ParticleData* v8Datum; -- cgit v1.2.3