mail[Wesnoth-commits] r28435 - /trunk/src/server/metrics.cpp


Others Months | Index by Date | Thread Index
>>   [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Header


Content

Posted by koraq on August 10, 2008 - 16:58:
Author: mordante
Date: Sun Aug 10 16:19:06 2008
New Revision: 28435

URL: http://svn.gna.org/viewcvs/wesnoth?rev=28435&view=rev
Log:
Initialize all members.

Modified:
    trunk/src/server/metrics.cpp

Modified: trunk/src/server/metrics.cpp
URL: 
http://svn.gna.org/viewcvs/wesnoth/trunk/src/server/metrics.cpp?rev=28435&r1=28434&r2=28435&view=diff
==============================================================================
--- trunk/src/server/metrics.cpp (original)
+++ trunk/src/server/metrics.cpp Sun Aug 10 16:19:06 2008
@@ -40,9 +40,14 @@
 };
 
 
-metrics::metrics() : most_consecutive_requests_(0),
-                     current_requests_(0), nrequests_(0),
-                     nrequests_waited_(0), started_at_(time(NULL))
+metrics::metrics() : 
+       samples_(),
+       most_consecutive_requests_(0), 
+       current_requests_(0), 
+       nrequests_(0), 
+       nrequests_waited_(0), 
+       started_at_(time(NULL)),
+       terminations_()
 {}
 
 metrics::~metrics()




Related Messages


Powered by MHonArc, Updated Sun Aug 10 17:21:56 2008