Commit ca6b30a5 authored by lluis's avatar lluis

using explicit keyword in the ERStat constructor for safe contruction

parent 9fbff009
......@@ -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(){};
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment