From 45f145bf512ec538cbc84e28180677d87def2723 Mon Sep 17 00:00:00 2001
From: Eduardo Ramos Testillano <eduardo.ramos.testillano@ericsson.com>
Date: Wed, 9 Dec 2015 03:54:46 +0100
Subject: [PATCH] Correct init at constructor

---
 example/diameter/launcher/testing/TestManager.cpp | 2 +-
 example/diameter/launcher/testing/TestManager.hpp | 1 +
 2 files changed, 2 insertions(+), 1 deletion(-)

diff --git a/example/diameter/launcher/testing/TestManager.cpp b/example/diameter/launcher/testing/TestManager.cpp
index 1317ee3..d4b4759 100644
--- a/example/diameter/launcher/testing/TestManager.cpp
+++ b/example/diameter/launcher/testing/TestManager.cpp
@@ -95,7 +95,7 @@ TestManager::TestManager() :
   a_inProgressLimit = UINT_MAX; // no limit
   a_clock = NULL;
   //a_testPool.clear();
-  a_statSummary.clear();
+  //a_statSummary.clear();
   a_currentTestIt = a_testPool.end();
 }
 
diff --git a/example/diameter/launcher/testing/TestManager.hpp b/example/diameter/launcher/testing/TestManager.hpp
index 9e007df..10ca097 100644
--- a/example/diameter/launcher/testing/TestManager.hpp
+++ b/example/diameter/launcher/testing/TestManager.hpp
@@ -62,6 +62,7 @@ class TestManager : public anna::timex::TimeEventObserver, public anna::Singleto
     unsigned int a_sucessTcs;
 
   public:
+    StatSummary() { clear(); }
     void newTCState(const TestCase::State::_v beginState, const TestCase::State::_v endState) throw();
     void clear() throw();
     unsigned int getInProgressCount() const throw() { return a_inprogressTcs; }
-- 
2.20.1