]> git.pld-linux.org Git - packages/opencv.git/blame - no-redefinition.patch
up to 3.4.0
[packages/opencv.git] / no-redefinition.patch
CommitLineData
486719de
JR
1--- opencv-3.1.0/opencv_contrib-3.1.0/modules/tracking/include/opencv2/tracking/onlineMIL.hpp~ 2015-12-17 18:11:31.000000000 +0100
2+++ opencv-3.1.0/opencv_contrib-3.1.0/modules/tracking/include/opencv2/tracking/onlineMIL.hpp 2017-12-13 08:59:51.077710225 +0100
3@@ -54,8 +54,6 @@
4 //TODO based on the original implementation
5 //http://vision.ucsd.edu/~bbabenko/project_miltrack.shtml
6
7-#define sign(s) ((s > 0 ) ? 1 : ((s<0) ? -1 : 0))
8-
9 class ClfOnlineStump;
10
11 class CV_EXPORTS ClfMilBoost
12--- opencv-3.1.0/opencv_contrib-3.1.0/modules/tracking/src/onlineMIL.cpp~ 2015-12-17 18:11:31.000000000 +0100
13+++ opencv-3.1.0/opencv_contrib-3.1.0/modules/tracking/src/onlineMIL.cpp 2017-12-13 09:00:15.158067835 +0100
14@@ -42,6 +42,8 @@
15 #include "precomp.hpp"
16 #include "opencv2/tracking/onlineMIL.hpp"
17
18+#define sign(s) ((s > 0 ) ? 1 : ((s<0) ? -1 : 0))
19+
20 template<class T> class SortableElementRev
21 {
22 public:
This page took 0.048581 seconds and 4 git commands to generate.