Skip to content

Commit a838a97

Browse files
committed
dnn: fix precomp.hpp usage
1 parent 24bed38 commit a838a97

File tree

10 files changed

+6
-8
lines changed

10 files changed

+6
-8
lines changed

modules/dnn/src/caffe/caffe_io.cpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -87,6 +87,8 @@
8787
//
8888
//M*/
8989

90+
#include "../precomp.hpp"
91+
9092
#ifdef HAVE_PROTOBUF
9193
#include <google/protobuf/io/coded_stream.h>
9294
#include <google/protobuf/io/zero_copy_stream_impl.h>

modules/dnn/src/layers/layers_common.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,7 @@
4040
//
4141
//M*/
4242

43+
#include "../precomp.hpp"
4344
#include "layers_common.hpp"
4445

4546
namespace cv

modules/dnn/src/ocl4dnn/include/common.hpp

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,6 @@
4141

4242
#ifndef _OPENCV_LIBDNN_COMMON_HPP_
4343
#define _OPENCV_LIBDNN_COMMON_HPP_
44-
#include "../../precomp.hpp"
4544
#include "../../caffe/glog_emulator.hpp"
4645
#include <opencv2/core/opencl/runtime/opencl_core.hpp>
4746

modules/dnn/src/ocl4dnn/include/math_functions.hpp

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,6 @@
4242

4343
#ifndef _OPENCV_GREENTEA_MATH_FUNCTIONS_HPP_
4444
#define _OPENCV_GREENTEA_MATH_FUNCTIONS_HPP_
45-
#include "../../precomp.hpp"
4645
#include "common.hpp"
4746

4847
namespace cv

modules/dnn/src/ocl4dnn/include/ocl4dnn.hpp

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,6 @@
4242

4343
#ifndef _OPENCV_LIBDNN_HPP_
4444
#define _OPENCV_LIBDNN_HPP_
45-
#include "../../precomp.hpp"
4645
#include <iomanip>
4746
#include <map>
4847
#include <memory>

modules/dnn/src/op_halide.hpp

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,6 @@
88
#ifndef __OPENCV_DNN_OP_HALIDE_HPP__
99
#define __OPENCV_DNN_OP_HALIDE_HPP__
1010

11-
#include "precomp.hpp"
12-
1311
#ifdef HAVE_HALIDE
1412
#include <Halide.h>
1513
#endif // HAVE_HALIDE

modules/dnn/src/op_inf_engine.hpp

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,6 @@
88
#ifndef __OPENCV_DNN_OP_INF_ENGINE_HPP__
99
#define __OPENCV_DNN_OP_INF_ENGINE_HPP__
1010

11-
#include "precomp.hpp"
12-
1311
#ifdef HAVE_INF_ENGINE
1412
#include <inference_engine.hpp>
1513
#endif // HAVE_INF_ENGINE

modules/dnn/src/tensorflow/tf_io.cpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,8 @@
99
Implementation of various functions which are related to Tensorflow models reading.
1010
*/
1111

12+
#include "../precomp.hpp"
13+
1214
#ifdef HAVE_PROTOBUF
1315
#include <google/protobuf/io/coded_stream.h>
1416
#include <google/protobuf/io/zero_copy_stream_impl.h>

modules/dnn/test/npy_blob.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55
// Copyright (C) 2017, Intel Corporation, all rights reserved.
66
// Third party copyrights are property of their respective owners.
77

8+
#include "test_precomp.hpp"
89
#include "npy_blob.hpp"
910

1011
namespace cv

modules/dnn/test/npy_blob.hpp

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,6 @@
77

88
#ifndef __OPENCV_DNN_TEST_NPY_BLOB_HPP__
99
#define __OPENCV_DNN_TEST_NPY_BLOB_HPP__
10-
#include "test_precomp.hpp"
1110

1211
namespace cv
1312
{

0 commit comments

Comments
 (0)