fix some samples colliding with std::beta
also add comments explaining the change
This commit is contained in:
@@ -8,6 +8,7 @@
|
||||
#include "opencv2/imgcodecs.hpp"
|
||||
#include "opencv2/highgui.hpp"
|
||||
|
||||
// we're NOT "using namespace std;" here, to avoid collisions between the beta variable and std::beta in c++17
|
||||
using namespace cv;
|
||||
|
||||
/** Global Variables */
|
||||
|
||||
Reference in New Issue
Block a user