Remove superfluous check

CV_Minor_Version <= 4 is always < 10... superfluous check.
This commit is contained in:
Jason Nichols 2018-04-13 11:21:32 -04:00 committed by GitHub
parent 41730f8257
commit 927e879e3c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -22,7 +22,7 @@
#include <node_buffer.h>
#include <opencv2/opencv.hpp>
#if ((CV_MAJOR_VERSION <= 2) && (CV_MINOR_VERSION <= 4) && (CV_MINOR_VERSION < 10))
#if ((CV_MAJOR_VERSION <= 2) && (CV_MINOR_VERSION <= 4))
#include <opencv/highgui.h>
#else
#include <opencv2/imgcodecs/imgcodecs_c.h>