diff options
author | Andrei Karas <akaras@inbox.ru> | 2019-09-30 03:27:33 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2019-09-30 03:30:11 +0300 |
commit | bf9fc1de4c53a88a28be48dbf7cf4795199442d4 (patch) | |
tree | 46018d5b85c669961fb2fe6ab8af06f432139999 /src/particle | |
parent | fdf8230a80fa418e4b46dc489e5b2dda7901b55c (diff) | |
download | mv-bf9fc1de4c53a88a28be48dbf7cf4795199442d4.tar.gz mv-bf9fc1de4c53a88a28be48dbf7cf4795199442d4.tar.bz2 mv-bf9fc1de4c53a88a28be48dbf7cf4795199442d4.tar.xz mv-bf9fc1de4c53a88a28be48dbf7cf4795199442d4.zip |
Add missing static keywords
Diffstat (limited to 'src/particle')
-rw-r--r-- | src/particle/particleemitter.h | 2 | ||||
-rw-r--r-- | src/particle/particleengine.cpp | 2 | ||||
-rw-r--r-- | src/particle/particleengine.h | 2 |
3 files changed, 3 insertions, 3 deletions
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 <typename T> static ParticleEmitterProp<T> 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 |