Skip to content

Commit

Permalink
move #define _USE_MATH_DEFINES to the top; upd copyright
Browse files Browse the repository at this point in the history
  • Loading branch information
ivikhrev committed Apr 1, 2022
1 parent c8b030c commit 359f0b5
Show file tree
Hide file tree
Showing 9 changed files with 10 additions and 9 deletions.
2 changes: 1 addition & 1 deletion demos/common/cpp/pipelines/include/pipelines/metadata.h
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
// Copyright (C) 2018-2020 Intel Corporation
// Copyright (C) 2020-2022 Intel Corporation
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
Expand Down
2 changes: 1 addition & 1 deletion demos/face_detection_mtcnn_demo/cpp_gapi/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@
#include <utility>
#include <vector>

#include <gflags/gflags.h>
#include <opencv2/core.hpp>
#include <opencv2/gapi/core.hpp>
#include <opencv2/gapi/garg.hpp>
Expand Down Expand Up @@ -45,7 +46,6 @@

#include "custom_kernels.hpp"
#include "face_detection_mtcnn_demo.hpp"
#include "gflags/gflags.h"
#include "utils.hpp"

const int MAX_PYRAMID_LEVELS = 13;
Expand Down
2 changes: 1 addition & 1 deletion demos/gaze_estimation_demo/cpp/include/utils.hpp
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright (C) 2018 Intel Corporation
// Copyright (C) 2018-2022 Intel Corporation
// SPDX-License-Identifier: Apache-2.0
//

Expand Down
3 changes: 2 additions & 1 deletion demos/gaze_estimation_demo/cpp/src/utils.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,10 @@
// SPDX-License-Identifier: Apache-2.0
//

#define _USE_MATH_DEFINES

#include "utils.hpp"

#define _USE_MATH_DEFINES
#include <cmath>

#include <opencv2/core.hpp>
Expand Down
2 changes: 1 addition & 1 deletion demos/gesture_recognition_demo/cpp_gapi/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@
#include <utility>
#include <vector>

#include <gflags/gflags.h>
#include <opencv2/core.hpp>
#include <opencv2/gapi/garg.hpp>
#include <opencv2/gapi/garray.hpp>
Expand All @@ -40,7 +41,6 @@

#include "custom_kernels.hpp"
#include "gesture_recognition_demo_gapi.hpp"
#include "gflags/gflags.h"
#include "stream_source.hpp"
#include "tracker.hpp"
#include "utils.hpp"
Expand Down
2 changes: 1 addition & 1 deletion demos/image_processing_demo/cpp/visualizer.cpp
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
// Copyright (C) 2021 Intel Corporation
// Copyright (C) 2021-2022 Intel Corporation
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
Expand Down
2 changes: 1 addition & 1 deletion demos/image_processing_demo/cpp/visualizer.hpp
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
// Copyright (C) 2021 Intel Corporation
// Copyright (C) 2021-2022 Intel Corporation
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
Expand Down
2 changes: 1 addition & 1 deletion demos/interactive_face_detection_demo/cpp/face.hpp
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright (C) 2018-2019 Intel Corporation
// Copyright (C) 2018-2022 Intel Corporation
// SPDX-License-Identifier: Apache-2.0
//

Expand Down
2 changes: 1 addition & 1 deletion demos/interactive_face_detection_demo/cpp/visualizer.hpp
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright (C) 2018-2019 Intel Corporation
// Copyright (C) 2018-2022 Intel Corporation
// SPDX-License-Identifier: Apache-2.0
//

Expand Down

0 comments on commit 359f0b5

Please sign in to comment.