Skip to content

Commit 7f12836

Browse files
committed
dnn: fix public headers guards
1 parent 9372978 commit 7f12836

File tree

7 files changed

+15
-15
lines changed

7 files changed

+15
-15
lines changed

modules/dnn/include/opencv2/dnn.hpp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -39,8 +39,8 @@
3939
//
4040
//M*/
4141

42-
#ifndef __OPENCV_DNN_HPP__
43-
#define __OPENCV_DNN_HPP__
42+
#ifndef OPENCV_DNN_HPP
43+
#define OPENCV_DNN_HPP
4444

4545
// This is an umbrealla header to include into you project.
4646
// We are free to change headers layout in dnn subfolder, so please include
@@ -61,4 +61,4 @@
6161
*/
6262
#include <opencv2/dnn/dnn.hpp>
6363

64-
#endif /* __OPENCV_DNN_HPP__ */
64+
#endif /* OPENCV_DNN_HPP */

modules/dnn/include/opencv2/dnn/all_layers.hpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,8 +39,8 @@
3939
//
4040
//M*/
4141

42-
#ifndef __OPENCV_DNN_DNN_ALL_LAYERS_HPP__
43-
#define __OPENCV_DNN_DNN_ALL_LAYERS_HPP__
42+
#ifndef OPENCV_DNN_DNN_ALL_LAYERS_HPP
43+
#define OPENCV_DNN_DNN_ALL_LAYERS_HPP
4444
#include <opencv2/dnn.hpp>
4545

4646
namespace cv

modules/dnn/include/opencv2/dnn/dict.hpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,8 +39,8 @@
3939
//
4040
//M*/
4141

42-
#ifndef __OPENCV_DNN_DNN_DICT_HPP__
43-
#define __OPENCV_DNN_DNN_DICT_HPP__
42+
#ifndef OPENCV_DNN_DNN_DICT_HPP
43+
#define OPENCV_DNN_DNN_DICT_HPP
4444

4545
#include <opencv2/core.hpp>
4646
#include <map>

modules/dnn/include/opencv2/dnn/dnn.hpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,8 +39,8 @@
3939
//
4040
//M*/
4141

42-
#ifndef __OPENCV_DNN_DNN_HPP__
43-
#define __OPENCV_DNN_DNN_HPP__
42+
#ifndef OPENCV_DNN_DNN_HPP
43+
#define OPENCV_DNN_DNN_HPP
4444

4545
#include <vector>
4646
#include <opencv2/core.hpp>

modules/dnn/include/opencv2/dnn/dnn.inl.hpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,8 +39,8 @@
3939
//
4040
//M*/
4141

42-
#ifndef __OPENCV_DNN_DNN_INL_HPP__
43-
#define __OPENCV_DNN_DNN_INL_HPP__
42+
#ifndef OPENCV_DNN_DNN_INL_HPP
43+
#define OPENCV_DNN_DNN_INL_HPP
4444

4545
#include <opencv2/dnn.hpp>
4646

modules/dnn/include/opencv2/dnn/layer.hpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,8 +39,8 @@
3939
//
4040
//M*/
4141

42-
#ifndef __OPENCV_DNN_LAYER_HPP__
43-
#define __OPENCV_DNN_LAYER_HPP__
42+
#ifndef OPENCV_DNN_LAYER_HPP
43+
#define OPENCV_DNN_LAYER_HPP
4444
#include <opencv2/dnn.hpp>
4545

4646
namespace cv

modules/dnn/include/opencv2/dnn/shape_utils.hpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,8 +39,8 @@
3939
//
4040
//M*/
4141

42-
#ifndef __OPENCV_DNN_DNN_SHAPE_UTILS_HPP__
43-
#define __OPENCV_DNN_DNN_SHAPE_UTILS_HPP__
42+
#ifndef OPENCV_DNN_DNN_SHAPE_UTILS_HPP
43+
#define OPENCV_DNN_DNN_SHAPE_UTILS_HPP
4444

4545
#include <opencv2/core.hpp>
4646
#include <opencv2/core/types_c.h>

0 commit comments

Comments
 (0)