Merge pull request #625 from aylusltd/patch-2

Remove superfluous check
This commit is contained in:
Peter Braden 2019-03-20 10:47:48 +01:00 committed by GitHub
commit 5a2317d8fa
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -22,7 +22,7 @@
#include <node_buffer.h> #include <node_buffer.h>
#include <opencv2/opencv.hpp> #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> #include <opencv/highgui.h>
#else #else
#include <opencv2/imgcodecs/imgcodecs_c.h> #include <opencv2/imgcodecs/imgcodecs_c.h>