Author: mordante
Date: Sun Jun 22 13:55:33 2008
New Revision: 27402
URL: http://svn.gna.org/viewcvs/wesnoth?rev=27402&view=rev
Log:
Added constructor to initialize all members.
Modified:
trunk/src/formatter.hpp
Modified: trunk/src/formatter.hpp
URL:
http://svn.gna.org/viewcvs/wesnoth/trunk/src/formatter.hpp?rev=27402&r1=27401&r2=27402&view=diff
==============================================================================
--- trunk/src/formatter.hpp (original)
+++ trunk/src/formatter.hpp Sun Jun 22 13:55:33 2008
@@ -33,6 +33,11 @@
class formatter
{
public:
+ formatter() :
+ stream_()
+ {
+ }
+
template<typename T>
formatter& operator<<(const T& o) {
stream_ << o;
_______________________________________________
Wesnoth-commits mailing list
[email protected]
https://mail.gna.org/listinfo/wesnoth-commits