fixed compile error when HAVE_CUDA is not defined

This commit is contained in:
Maria Dimashova 2010-08-31 07:23:03 +00:00
parent eb6994f58a
commit 05d702b139

View File

@ -53,8 +53,8 @@ void cv::gpu::drawColorDisp(const GpuMat&, GpuMat&, int) { throw_nogpu(); }
void cv::gpu::drawColorDisp(const GpuMat&, GpuMat&, int, const Stream&) { throw_nogpu(); }
void cv::gpu::reprojectImageTo3D_GPU(const GpuMat&, GpuMat&, const Mat&) { throw_nogpu(); }
void cv::gpu::reprojectImageTo3D_GPU(const GpuMat&, GpuMat&, const Mat&, const Stream&) { throw_nogpu(); }
void cvtColor_GPU(const GpuMat& GpuMat&, int, int) { throw_nogpu(); }
void cvtColor_GPU(const GpuMat& GpuMat&, int, int, const Stream&) { throw_nogpu(); }
void cvtColor_GPU(const GpuMat&, GpuMat&, int, int) { throw_nogpu(); }
void cvtColor_GPU(const GpuMat&, GpuMat&, int, int, const Stream&) { throw_nogpu(); }
#else /* !defined (HAVE_CUDA) */
@ -526,4 +526,4 @@ void cv::gpu::cvtColor_GPU(const GpuMat& src, GpuMat& dst, int code, int dcn, co
cvtColor_caller(src, dst, code, dcn, StreamAccessor::getStream(stream));
}
#endif /* !defined (HAVE_CUDA) */
#endif /* !defined (HAVE_CUDA) */