Fix binary compatibility of gpu module

This commit is contained in:
Andrey Kamaev
2013-02-22 00:14:58 +04:00
parent eda2a76ee9
commit 995154d10d
3 changed files with 17 additions and 10 deletions

View File

@@ -45,6 +45,9 @@
using namespace cv;
using namespace cv::gpu;
/*stub for deprecated constructor*/
cv::gpu::CannyBuf::CannyBuf(const GpuMat&, const GpuMat&) { }
#if !defined (HAVE_CUDA) || defined (CUDA_DISABLER)
void cv::gpu::meanShiftFiltering(const GpuMat&, GpuMat&, int, int, TermCriteria, Stream&) { throw_nogpu(); }