Updates for XCode 7.3
This commit is contained in:
parent
0df901b389
commit
ba3b1de93f
2
3rdparty/zlib/CMakeLists.txt
vendored
2
3rdparty/zlib/CMakeLists.txt
vendored
@ -82,7 +82,7 @@ if(UNIX)
|
|||||||
endif()
|
endif()
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
ocv_warnings_disable(CMAKE_C_FLAGS -Wshorten-64-to-32 -Wattributes -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations)
|
ocv_warnings_disable(CMAKE_C_FLAGS -Wshorten-64-to-32 -Wattributes -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wshift-negative-value)
|
||||||
|
|
||||||
set_target_properties(${ZLIB_LIBRARY} PROPERTIES
|
set_target_properties(${ZLIB_LIBRARY} PROPERTIES
|
||||||
OUTPUT_NAME ${ZLIB_LIBRARY}
|
OUTPUT_NAME ${ZLIB_LIBRARY}
|
||||||
|
@ -369,7 +369,12 @@ public:
|
|||||||
static enum PERF_STRATEGY getCurrentModulePerformanceStrategy();
|
static enum PERF_STRATEGY getCurrentModulePerformanceStrategy();
|
||||||
static enum PERF_STRATEGY setModulePerformanceStrategy(enum PERF_STRATEGY strategy);
|
static enum PERF_STRATEGY setModulePerformanceStrategy(enum PERF_STRATEGY strategy);
|
||||||
|
|
||||||
class PerfSkipTestException: public cv::Exception {};
|
class PerfSkipTestException: public cv::Exception
|
||||||
|
{
|
||||||
|
int dummy; // workaround for MacOSX Xcode 7.3 bug (don't make class "empty")
|
||||||
|
public:
|
||||||
|
PerfSkipTestException() : dummy(0) {}
|
||||||
|
};
|
||||||
|
|
||||||
protected:
|
protected:
|
||||||
virtual void PerfTestBody() = 0;
|
virtual void PerfTestBody() = 0;
|
||||||
|
@ -57,7 +57,7 @@ void Tracker::setFirstFrame(const Mat frame, vector<Point2f> bb, string title, S
|
|||||||
drawBoundingBox(first_frame, bb);
|
drawBoundingBox(first_frame, bb);
|
||||||
putText(first_frame, title, Point(0, 60), FONT_HERSHEY_PLAIN, 5, Scalar::all(0), 4);
|
putText(first_frame, title, Point(0, 60), FONT_HERSHEY_PLAIN, 5, Scalar::all(0), 4);
|
||||||
object_bb = bb;
|
object_bb = bb;
|
||||||
delete ptMask;
|
delete[] ptMask;
|
||||||
}
|
}
|
||||||
|
|
||||||
Mat Tracker::process(const Mat frame, Stats& stats)
|
Mat Tracker::process(const Mat frame, Stats& stats)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user