diff --git a/Modules/Learning/Sampling/include/otbPolygonClassStatisticsAccumulator.h b/Modules/Learning/Sampling/include/otbPolygonClassStatisticsAccumulator.h
index 4807effe5c92ee01d3c9c23abc24bfcb7076d41f..0a1e1c2d501812e3a8521c8e5455d905aea72f6e 100644
--- a/Modules/Learning/Sampling/include/otbPolygonClassStatisticsAccumulator.h
+++ b/Modules/Learning/Sampling/include/otbPolygonClassStatisticsAccumulator.h
@@ -62,9 +62,10 @@ public:
 
 protected:
   /** Constructor */
-  PolygonClassStatisticsAccumulator() {}
+  PolygonClassStatisticsAccumulator();
+    
   /** Destructor */
-  virtual ~PolygonClassStatisticsAccumulator() {}
+  virtual ~PolygonClassStatisticsAccumulator();
 
 private:
   //Number of pixels in all the polygons
diff --git a/Modules/Learning/Sampling/src/otbPolygonClassStatisticsAccumulator.cxx b/Modules/Learning/Sampling/src/otbPolygonClassStatisticsAccumulator.cxx
index 28002be97a536a753b502c38d7794a963aadf5c3..0652e9b3a95f768381a918e114eec22928b63b28 100644
--- a/Modules/Learning/Sampling/src/otbPolygonClassStatisticsAccumulator.cxx
+++ b/Modules/Learning/Sampling/src/otbPolygonClassStatisticsAccumulator.cxx
@@ -21,6 +21,15 @@
 namespace otb
 {
 
+PolygonClassStatisticsAccumulator::PolygonClassStatisticsAccumulator() :
+  m_NbPixelsGlobal(0UL),
+  m_ElmtsInClass(),
+  m_Polygon()
+{}
+  
+PolygonClassStatisticsAccumulator::~PolygonClassStatisticsAccumulator()
+{}
+
 void
 PolygonClassStatisticsAccumulator
 ::Reset()