]> git.stg.codes - stg.git/blobdiff - projects/stargazer/actions.h
Settings object is now allocated on stack, no need to delete it.
[stg.git] / projects / stargazer / actions.h
index 6c1fc8a8c671ea9c7ed24781af0ff867990d09bb..66b8556d1144ab43344378865ecbbc18261fc043 100644 (file)
@@ -41,7 +41,7 @@ public:
     ACTION(ACTIVE_CLASS & ac,
            typename ACTOR<ACTIVE_CLASS, DATA_TYPE>::TYPE a,
            DATA_TYPE d)
-        : activeClass(ac), actor(a), data(d) {};
+        : activeClass(ac), actor(a), data(d) {}
     void Invoke();
 private:
     ACTION(const ACTION<ACTIVE_CLASS, DATA_TYPE> & rvalue);