mirror of
https://github.com/peterbraden/node-opencv.git
synced 2025-12-08 19:45:55 +00:00
Remove superfluous check
CV_Minor_Version <= 4 is always < 10... superfluous check.
This commit is contained in:
parent
41730f8257
commit
927e879e3c
@ -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>
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user