diff options
author | Andrei Karas <akaras@inbox.ru> | 2012-09-22 01:34:49 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2012-09-22 01:34:49 +0300 |
commit | 3dcf21babe03cee5080a25e787e1d7e72124288e (patch) | |
tree | 7051c6beddd3e7e1de960bb84e46601db8e2e5c4 /src/particleemitterprop.h | |
parent | c217b7141df580b686a0eef085bd0eb0a8e6771a (diff) | |
download | mv-3dcf21babe03cee5080a25e787e1d7e72124288e.tar.gz mv-3dcf21babe03cee5080a25e787e1d7e72124288e.tar.bz2 mv-3dcf21babe03cee5080a25e787e1d7e72124288e.tar.xz mv-3dcf21babe03cee5080a25e787e1d7e72124288e.zip |
Add final keyword to most classes.
Diffstat (limited to 'src/particleemitterprop.h')
-rw-r--r-- | src/particleemitterprop.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/particleemitterprop.h b/src/particleemitterprop.h index 354cb0229..e9f3661d1 100644 --- a/src/particleemitterprop.h +++ b/src/particleemitterprop.h @@ -23,6 +23,8 @@ #include <cmath> #include <cstdlib> +#include "localconsts.h" + /** * Returns a random numeric value that is larger than or equal min and smaller * than max @@ -37,7 +39,7 @@ enum ChangeFunc FUNC_SQUARE }; -template <typename T> struct ParticleEmitterProp +template <typename T> struct ParticleEmitterProp final { ParticleEmitterProp(): minVal(0), maxVal(0), changeFunc(FUNC_NONE), |