From ca6b30a5683aa9102e0fda2fbe7aff132244887f Mon Sep 17 00:00:00 2001
From: lluis <lgomez@cvc.uab.es>
Date: Tue, 23 Jul 2013 00:24:17 +0200
Subject: [PATCH] using explicit keyword in the ERStat constructor for safe
 contruction

---
 modules/objdetect/include/opencv2/objdetect/erfilter.hpp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/modules/objdetect/include/opencv2/objdetect/erfilter.hpp b/modules/objdetect/include/opencv2/objdetect/erfilter.hpp
index c03d49f94..b69ca97f7 100644
--- a/modules/objdetect/include/opencv2/objdetect/erfilter.hpp
+++ b/modules/objdetect/include/opencv2/objdetect/erfilter.hpp
@@ -64,7 +64,7 @@ struct CV_EXPORTS ERStat
 {
 public:
     //! Constructor
-    ERStat(int level = 256, int pixel = 0, int x = 0, int y = 0);
+    explicit ERStat(int level = 256, int pixel = 0, int x = 0, int y = 0);
     //! Destructor
     ~ERStat(){};