Skip to content

Commit 6afb67e

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

File tree

3 files changed

+3
-6
lines changed

3 files changed

+3
-6
lines changed

demos/gaze_estimation_demo/cpp/src/results_marker.cpp

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,12 @@
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
8-
#include <cctype>
99
#include <cmath>
10+
#include <cctype>
1011
#include <vector>
1112

1213
#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)