Author: mordante
Date: Sun Jun 22 13:25:02 2008
New Revision: 27398
URL: http://svn.gna.org/viewcvs/wesnoth?rev=27398&view=rev
Log:
Added constructor to initialize all members.
Modified:
trunk/src/formula_tokenizer.hpp
Modified: trunk/src/formula_tokenizer.hpp
URL:
http://svn.gna.org/viewcvs/wesnoth/trunk/src/formula_tokenizer.hpp?rev=27398&r1=27397&r2=27398&view=diff
==============================================================================
--- trunk/src/formula_tokenizer.hpp (original)
+++ trunk/src/formula_tokenizer.hpp Sun Jun 22 13:25:02 2008
@@ -31,6 +31,14 @@
TOKEN_COMMENT, TOKEN_POINTER };
struct token {
+
+ token() :
+ type(TOKEN_COMMENT),
+ begin(),
+ end()
+ {
+ }
+
TOKEN_TYPE type;
iterator begin, end;
};
_______________________________________________
Wesnoth-commits mailing list
[email protected]
https://mail.gna.org/listinfo/wesnoth-commits