Author: mordante
Date: Fri Aug 26 21:17:56 2011
New Revision: 50926
URL: http://svn.gna.org/viewcvs/wesnoth?rev=50926&view=rev
Log:
Added constructor to initialize all members.
Modified:
trunk/src/game_events.cpp
Modified: trunk/src/game_events.cpp
URL:
http://svn.gna.org/viewcvs/wesnoth/trunk/src/game_events.cpp?rev=50926&r1=50925&r2=50926&view=diff
==============================================================================
--- trunk/src/game_events.cpp (original)
+++ trunk/src/game_events.cpp Fri Aug 26 21:17:56 2011
@@ -576,6 +576,15 @@
bool buffering;
public:
+
+ t_event_handlers()
+ : std::vector<game_events::event_handler>()
+ , insert_buffer()
+ , remove_buffer()
+ , buffering(false)
+ {
+ }
+
/**
* Adds an event handler. An event with a nonempty ID will not
* be added if an event with that ID already exists. This
method
_______________________________________________
Wesnoth-commits mailing list
[email protected]
https://mail.gna.org/listinfo/wesnoth-commits