From 3dcf21babe03cee5080a25e787e1d7e72124288e Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Sat, 22 Sep 2012 01:34:49 +0300 Subject: Add final keyword to most classes. --- src/particleemitterprop.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'src/particleemitterprop.h') 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 #include +#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 struct ParticleEmitterProp +template struct ParticleEmitterProp final { ParticleEmitterProp(): minVal(0), maxVal(0), changeFunc(FUNC_NONE), -- cgit v1.2.3-60-g2f50