fixed compile error when HAVE_CUDA is not defined

pull/13383/head
Maria Dimashova 15 years ago
parent eb6994f58a
commit 05d702b139
  1. 6
      modules/gpu/src/imgproc_gpu.cpp

@ -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) */

Loading…
Cancel
Save