projects
/
platform
/
upstream
/
opencv.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9fbff00
)
using explicit keyword in the ERStat constructor for safe contruction
author
lluis
<lgomez@cvc.uab.es>
Mon, 22 Jul 2013 22:24:17 +0000
(
00:24
+0200)
committer
lluis
<lgomez@cvc.uab.es>
Mon, 22 Jul 2013 22:24:17 +0000
(
00:24
+0200)
modules/objdetect/include/opencv2/objdetect/erfilter.hpp
patch
|
blob
|
history
diff --git
a/modules/objdetect/include/opencv2/objdetect/erfilter.hpp
b/modules/objdetect/include/opencv2/objdetect/erfilter.hpp
index
c03d49f
..
b69ca97
100644
(file)
--- 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(){};