diff --git a/demos/gaze_estimation_demo/cpp/src/results_marker.cpp b/demos/gaze_estimation_demo/cpp/src/results_marker.cpp index 8b63ce07ee8..c4566c89d02 100644 --- a/demos/gaze_estimation_demo/cpp/src/results_marker.cpp +++ b/demos/gaze_estimation_demo/cpp/src/results_marker.cpp @@ -2,11 +2,12 @@ // SPDX-License-Identifier: Apache-2.0 // +#define _USE_MATH_DEFINES + #include "results_marker.hpp" -#define _USE_MATH_DEFINES -#include #include +#include #include #include diff --git a/demos/gesture_recognition_demo/cpp_gapi/src/utils.cpp b/demos/gesture_recognition_demo/cpp_gapi/src/utils.cpp index 128c8958115..5262f18ff1a 100644 --- a/demos/gesture_recognition_demo/cpp_gapi/src/utils.cpp +++ b/demos/gesture_recognition_demo/cpp_gapi/src/utils.cpp @@ -16,8 +16,6 @@ #include #include -#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; diff --git a/demos/gesture_recognition_demo/cpp_gapi/src/visualizer.cpp b/demos/gesture_recognition_demo/cpp_gapi/src/visualizer.cpp index 4133c02571d..46d314c4fb8 100644 --- a/demos/gesture_recognition_demo/cpp_gapi/src/visualizer.cpp +++ b/demos/gesture_recognition_demo/cpp_gapi/src/visualizer.cpp @@ -2,8 +2,6 @@ // SPDX-License-Identifier: Apache-2.0 // -#define _USE_MATH_DEFINES - #include "visualizer.hpp" #include