File tree Expand file tree Collapse file tree 2 files changed +5
-2
lines changed
core/include/opencv2/core/utils Expand file tree Collapse file tree 2 files changed +5
-2
lines changed Original file line number Diff line number Diff line change 5
5
#ifndef OPENCV_UTILS_TLS_HPP
6
6
#define OPENCV_UTILS_TLS_HPP
7
7
8
- #include < opencv2/core/utility.hpp>
8
+ #ifndef OPENCV_CORE_UTILITY_H
9
+ #error "tls.hpp must be included after opencv2/core/utility.hpp or opencv2/core.hpp"
10
+ #endif
9
11
10
12
namespace cv {
11
13
Original file line number Diff line number Diff line change 31
31
#define NPY_NO_DEPRECATED_API NPY_1_7_API_VERSION
32
32
#include < numpy/ndarrayobject.h>
33
33
34
+ #include " opencv2/opencv_modules.hpp"
35
+ #include " opencv2/core.hpp"
34
36
#include " opencv2/core/utils/configuration.private.hpp"
35
37
#include " opencv2/core/utils/logger.hpp"
36
38
#include " opencv2/core/utils/tls.hpp"
37
39
38
40
#include " pyopencv_generated_include.h"
39
41
#include " opencv2/core/types_c.h"
40
- #include " opencv2/opencv_modules.hpp"
41
42
#include " pycompat.hpp"
42
43
#include < map>
43
44
You can’t perform that action at this time.
0 commit comments