From bf9fc1de4c53a88a28be48dbf7cf4795199442d4 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Mon, 30 Sep 2019 03:27:33 +0300 Subject: Add missing static keywords --- src/particle/particleemitter.h | 2 +- src/particle/particleengine.cpp | 2 +- src/particle/particleengine.h | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) (limited to 'src/particle') diff --git a/src/particle/particleemitter.h b/src/particle/particleemitter.h index 72e033506..822ce1dcf 100644 --- a/src/particle/particleemitter.h +++ b/src/particle/particleemitter.h @@ -88,7 +88,7 @@ class ParticleEmitter final template static ParticleEmitterProp readParticleEmitterProp(XmlNodePtrConst propertyNode, T def); - ImageSet *getImageSet(XmlNodePtrConst node); + static ImageSet *getImageSet(XmlNodePtrConst node); /** * initial position of particles: diff --git a/src/particle/particleengine.cpp b/src/particle/particleengine.cpp index 1ee24f33d..628e43b6a 100644 --- a/src/particle/particleengine.cpp +++ b/src/particle/particleengine.cpp @@ -64,7 +64,7 @@ ParticleEngine::~ParticleEngine() ParticleEngine::particleCount--; } -void ParticleEngine::setupEngine() restrict2 +void ParticleEngine::setupEngine() { ParticleEngine::maxCount = config.getIntValue("particleMaxCount"); ParticleEngine::fastPhysics = fromInt(config.getIntValue( diff --git a/src/particle/particleengine.h b/src/particle/particleengine.h index a0315d481..5020a5ffa 100644 --- a/src/particle/particleengine.h +++ b/src/particle/particleengine.h @@ -73,7 +73,7 @@ class ParticleEngine final * Gives a particle the properties of an engine root particle and loads * the particle-related config settings. */ - void setupEngine() restrict2; + static void setupEngine(); /** * Updates particle position, returns false when the particle should -- cgit v1.2.3-70-g09d2