From 85b9960f621e9b90b39806e01b74afc2bb717d1b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micha=C5=82=20Janiszewski?= Date: Tue, 16 Oct 2018 21:15:54 +0200 Subject: [PATCH] Fix clashing include guards Relevant guards can be found in https://github.com/opencv/opencv/blob/ef5579dc8667e5eb5e149acc4af898421eed99da/modules/features2d/src/kaze/AKAZEConfig.h#L8 and https://github.com/opencv/opencv/blob/ef5579dc8667e5eb5e149acc4af898421eed99da/modules/ml/include/opencv2/ml.hpp#L44 --- apps/traincascade/old_ml.hpp | 6 +++--- modules/features2d/src/kaze/KAZEConfig.h | 4 ++-- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/apps/traincascade/old_ml.hpp b/apps/traincascade/old_ml.hpp index 3ad739dd64..de3aa407a2 100644 --- a/apps/traincascade/old_ml.hpp +++ b/apps/traincascade/old_ml.hpp @@ -38,8 +38,8 @@ // //M*/ -#ifndef OPENCV_ML_HPP -#define OPENCV_ML_HPP +#ifndef OPENCV_OLD_ML_HPP +#define OPENCV_OLD_ML_HPP #ifdef __cplusplus # include "opencv2/core.hpp" @@ -2037,6 +2037,6 @@ template<> void DefaultDeleter::operator ()(CvDTreeSplit* obj) con } #endif // __cplusplus -#endif // OPENCV_ML_HPP +#endif // OPENCV_OLD_ML_HPP /* End of file. */ diff --git a/modules/features2d/src/kaze/KAZEConfig.h b/modules/features2d/src/kaze/KAZEConfig.h index 5f2f8dcecd..3a7d6f8b7f 100644 --- a/modules/features2d/src/kaze/KAZEConfig.h +++ b/modules/features2d/src/kaze/KAZEConfig.h @@ -5,8 +5,8 @@ * @author Pablo F. Alcantarilla */ -#ifndef __OPENCV_FEATURES_2D_AKAZE_CONFIG_H__ -#define __OPENCV_FEATURES_2D_AKAZE_CONFIG_H__ +#ifndef __OPENCV_FEATURES_2D_KAZE_CONFIG_H__ +#define __OPENCV_FEATURES_2D_KAZE_CONFIG_H__ // OpenCV Includes #include "../precomp.hpp"