Skip to content

Commit 22c6bbc

Browse files
committed
remove unused _USE_MATH_DEFINES, move others to the top
1 parent 359f0b5 commit 22c6bbc

File tree

4 files changed

+3
-6
lines changed

4 files changed

+3
-6
lines changed

demos/gaze_estimation_demo/cpp/src/results_marker.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 "results_marker.hpp"
68

7-
#define _USE_MATH_DEFINES
89
#include <cctype>
910
#include <cmath>
1011
#include <vector>

demos/gaze_estimation_demo/cpp_gapi/src/results_marker.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,8 @@
66

77
#include "results_marker.hpp"
88

9-
#include <cmath>
109
#include <cctype>
10+
#include <cmath>
1111
#include <vector>
1212

1313
#include <opencv2/core.hpp>

demos/gesture_recognition_demo/cpp_gapi/src/utils.cpp

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,6 @@
1616
#include <ie_input_info.hpp>
1717
#include <ie_layouts.h>
1818

19-
#define _USE_MATH_DEFINES
20-
2119
cv::Scalar getNetShape(const std::string& path) {
2220
const auto network = InferenceEngine::Core{}.ReadNetwork(path);
2321
const auto layerData = network.getInputsInfo().begin()->second;

demos/gesture_recognition_demo/cpp_gapi/src/visualizer.cpp

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,6 @@
22
// SPDX-License-Identifier: Apache-2.0
33
//
44

5-
#define _USE_MATH_DEFINES
6-
75
#include "visualizer.hpp"
86

97
#include <algorithm>

0 commit comments

Comments
 (0)