Author: suokko
Date: Sun Jun 22 16:16:00 2008
New Revision: 27409

URL: http://svn.gna.org/viewcvs/wesnoth?rev=27409&view=rev
Log:
Fixed formula constructor to initialize variables

Modified:
    trunk/src/formula.hpp

Modified: trunk/src/formula.hpp
URL: 
http://svn.gna.org/viewcvs/wesnoth/trunk/src/formula.hpp?rev=27409&r1=27408&r2=27409&view=diff
==============================================================================
--- trunk/src/formula.hpp (original)
+++ trunk/src/formula.hpp Sun Jun 22 16:16:00 2008
@@ -50,7 +50,8 @@
        const std::string& str() const { return str_; }
 
 private:
-       formula();
+       formula() : expr_(), str_()
+       {}
        expression_ptr expr_;
        std::string str_;
 };


_______________________________________________
Wesnoth-commits mailing list
[email protected]
https://mail.gna.org/listinfo/wesnoth-commits

Reply via email to