Skip to content

Commit

Permalink
remove unused _USE_MATH_DEFINES, move others to the top
Browse files Browse the repository at this point in the history
  • Loading branch information
ivikhrev committed Apr 1, 2022
1 parent 359f0b5 commit 6afb67e
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 6 deletions.
5 changes: 3 additions & 2 deletions demos/gaze_estimation_demo/cpp/src/results_marker.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,12 @@
// SPDX-License-Identifier: Apache-2.0
//

#define _USE_MATH_DEFINES

#include "results_marker.hpp"

#define _USE_MATH_DEFINES
#include <cctype>
#include <cmath>
#include <cctype>
#include <vector>

#include <opencv2/core.hpp>
Expand Down
2 changes: 0 additions & 2 deletions demos/gesture_recognition_demo/cpp_gapi/src/utils.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,6 @@
#include <ie_input_info.hpp>
#include <ie_layouts.h>

#define _USE_MATH_DEFINES

cv::Scalar getNetShape(const std::string& path) {
const auto network = InferenceEngine::Core{}.ReadNetwork(path);
const auto layerData = network.getInputsInfo().begin()->second;
Expand Down
2 changes: 0 additions & 2 deletions demos/gesture_recognition_demo/cpp_gapi/src/visualizer.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,6 @@
// SPDX-License-Identifier: Apache-2.0
//

#define _USE_MATH_DEFINES

#include "visualizer.hpp"

#include <algorithm>
Expand Down

0 comments on commit 6afb67e

Please sign in to comment.