Skip to content
This repository was archived by the owner on Oct 18, 2023. It is now read-only.

Commit dcd1c7a

Browse files
committed
Correct check
1 parent e20a668 commit dcd1c7a

File tree

2 files changed

+8
-0
lines changed

2 files changed

+8
-0
lines changed

cc/modules/ximgproc/SuperpixelLSC.h

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,8 @@
22
#include "Mat.h"
33
#include "macros.h"
44

5+
#if OPENCV_MINOR_VERSION > 0
6+
57
#ifndef __FF_SUPERPIXELLSC_H__
68
#define __FF_SUPERPIXELLSC_H__
79

@@ -29,4 +31,6 @@ class SuperpixelLSC : public Nan::ObjectWrap {
2931
static Nan::Persistent<v8::FunctionTemplate> constructor;
3032
};
3133

34+
#endif
35+
3236
#endif

cc/modules/ximgproc/SuperpixelSLIC.h

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,8 @@
22
#include "Mat.h"
33
#include "macros.h"
44

5+
#if OPENCV_MINOR_VERSION > 0
6+
57
#ifndef __FF_SUPERPIXELSLIC_H__
68
#define __FF_SUPERPIXELSLIC_H__
79

@@ -31,4 +33,6 @@ class SuperpixelSLIC : public Nan::ObjectWrap {
3133
static Nan::Persistent<v8::FunctionTemplate> constructor;
3234
};
3335

36+
#endif
37+
3438
#endif

0 commit comments

Comments
 (0)