From 0b7c8d12d309776c33ce3d3b5b9332dd81abfaff Mon Sep 17 00:00:00 2001 From: deadprogram Date: Sat, 8 Feb 2025 13:50:12 +0100 Subject: [PATCH] fix: correct ifndef for wrappers to avoid include conflcts Signed-off-by: deadprogram --- contrib/bgsegm.h | 6 +++--- persistence.h | 6 +++--- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/contrib/bgsegm.h b/contrib/bgsegm.h index c7c171d..dc6f3fa 100644 --- a/contrib/bgsegm.h +++ b/contrib/bgsegm.h @@ -1,5 +1,5 @@ -#ifndef _OPENCV3_VIDEO_H_ -#define _OPENCV3_VIDEO_H_ +#ifndef _OPENCV3_BGSEGM_H_ +#define _OPENCV3_BGSEGM_H_ #ifdef __cplusplus #include @@ -23,4 +23,4 @@ void BackgroundSubtractorCNT_Apply(BackgroundSubtractorCNT b, Mat src, Mat dst); } #endif -#endif //_OPENCV3_VIDEO_H_ +#endif //_OPENCV3_BGSEGM_H_ diff --git a/persistence.h b/persistence.h index b54fcbd..658f86e 100644 --- a/persistence.h +++ b/persistence.h @@ -1,5 +1,5 @@ -#ifndef _OPENCV3_OBJDETECT_H_ -#define _OPENCV3_OBJDETECT_H_ +#ifndef _OPENCV3_PERSISTENCE_H_ +#define _OPENCV3_PERSISTENCE_H_ #include @@ -74,4 +74,4 @@ void FileNode_Close(FileNode fn); } #endif -#endif //_OPENCV3_OBJDETECT_H_ +#endif //_OPENCV3_PERSISTENCE_H_