Skip to content

Commit ee343d6

Browse files
committed
opencv fix
1 parent 6e74e9f commit ee343d6

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

.clang-tidy

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,7 @@ Checks: >
2727
-readability-named-parameter
2828
2929
WarningsAsErrors: "*"
30+
HeaderFilterRegex: '^(?!.*opencv2).*'
3031

3132
CheckOptions:
3233
- key: readability-identifier-naming.ClassCase

tasks/all/example/func_tests/func_all.cpp

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,13 +3,12 @@
33
#include <cstddef>
44
#include <cstdint>
55
#include <memory>
6+
+#include <opencv2/opencv.hpp>
67
#include <vector>
78

89
#include "all/example/include/ops_all.hpp"
910
#include "core/task/include/task.hpp"
1011
#include "core/util/util.hpp"
11-
#include "opencv2/core/mat.hpp"
12-
#include "opencv2/imgcodecs.hpp"
1312

1413
TEST(nesterov_a_test_task_all, test_matmul_50) {
1514
constexpr size_t kCount = 50;

0 commit comments

Comments
 (0)