Include accumulators on statistics engine in order to centralize and ease asXML....
[anna.git] / source / statistics / Meter.cpp
index feda763..9c9de5f 100644 (file)
@@ -26,7 +26,7 @@ using namespace anna::statistics;
 //------------------------------------------------------------------------------
 
 // Default Constructor
-Meter::Meter(const std::string & description) {
+Meter::Meter(const std::string & description) : a_accumulator(description) {
   Engine& statsEngine = Engine::instantiate();
   a_single_accumulator_concept_id = statsEngine.addConcept(description, "ms", true);
 }