Skip to content

Commit 6824506

Browse files
committed
move remaining _USE_MATH_DEFINES
1 parent 359f0b5 commit 6824506

File tree

2 files changed

+5
-4
lines changed

2 files changed

+5
-4
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: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,8 @@
22
// SPDX-License-Identifier: Apache-2.0
33
//
44

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

79
#include <algorithm>
@@ -16,8 +18,6 @@
1618
#include <ie_input_info.hpp>
1719
#include <ie_layouts.h>
1820

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

0 commit comments

Comments
 (0)