Skip to content

Commit 359f0b5

Browse files
committed
move #define _USE_MATH_DEFINES to the top; upd copyright
1 parent c8b030c commit 359f0b5

File tree

9 files changed

+10
-9
lines changed

9 files changed

+10
-9
lines changed

demos/common/cpp/pipelines/include/pipelines/metadata.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
// Copyright (C) 2018-2020 Intel Corporation
2+
// Copyright (C) 2020-2022 Intel Corporation
33
//
44
// Licensed under the Apache License, Version 2.0 (the "License");
55
// you may not use this file except in compliance with the License.

demos/face_detection_mtcnn_demo/cpp_gapi/main.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@
1616
#include <utility>
1717
#include <vector>
1818

19+
#include <gflags/gflags.h>
1920
#include <opencv2/core.hpp>
2021
#include <opencv2/gapi/core.hpp>
2122
#include <opencv2/gapi/garg.hpp>
@@ -45,7 +46,6 @@
4546

4647
#include "custom_kernels.hpp"
4748
#include "face_detection_mtcnn_demo.hpp"
48-
#include "gflags/gflags.h"
4949
#include "utils.hpp"
5050

5151
const int MAX_PYRAMID_LEVELS = 13;

demos/gaze_estimation_demo/cpp/include/utils.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// Copyright (C) 2018 Intel Corporation
1+
// Copyright (C) 2018-2022 Intel Corporation
22
// SPDX-License-Identifier: Apache-2.0
33
//
44

demos/gaze_estimation_demo/cpp/src/utils.cpp

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,10 @@
22
// SPDX-License-Identifier: Apache-2.0
33
//
44

5+
#define _USE_MATH_DEFINES
6+
57
#include "utils.hpp"
68

7-
#define _USE_MATH_DEFINES
89
#include <cmath>
910

1011
#include <opencv2/core.hpp>

demos/gesture_recognition_demo/cpp_gapi/main.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@
1515
#include <utility>
1616
#include <vector>
1717

18+
#include <gflags/gflags.h>
1819
#include <opencv2/core.hpp>
1920
#include <opencv2/gapi/garg.hpp>
2021
#include <opencv2/gapi/garray.hpp>
@@ -40,7 +41,6 @@
4041

4142
#include "custom_kernels.hpp"
4243
#include "gesture_recognition_demo_gapi.hpp"
43-
#include "gflags/gflags.h"
4444
#include "stream_source.hpp"
4545
#include "tracker.hpp"
4646
#include "utils.hpp"

demos/image_processing_demo/cpp/visualizer.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
// Copyright (C) 2021 Intel Corporation
2+
// Copyright (C) 2021-2022 Intel Corporation
33
//
44
// Licensed under the Apache License, Version 2.0 (the "License");
55
// you may not use this file except in compliance with the License.

demos/image_processing_demo/cpp/visualizer.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
// Copyright (C) 2021 Intel Corporation
2+
// Copyright (C) 2021-2022 Intel Corporation
33
//
44
// Licensed under the Apache License, Version 2.0 (the "License");
55
// you may not use this file except in compliance with the License.

demos/interactive_face_detection_demo/cpp/face.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// Copyright (C) 2018-2019 Intel Corporation
1+
// Copyright (C) 2018-2022 Intel Corporation
22
// SPDX-License-Identifier: Apache-2.0
33
//
44

demos/interactive_face_detection_demo/cpp/visualizer.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// Copyright (C) 2018-2019 Intel Corporation
1+
// Copyright (C) 2018-2022 Intel Corporation
22
// SPDX-License-Identifier: Apache-2.0
33
//
44

0 commit comments

Comments
 (0)