From 05d702b139f74e721ecdba82ecc51a654d2e3de7 Mon Sep 17 00:00:00 2001 From: Maria Dimashova Date: Tue, 31 Aug 2010 07:23:03 +0000 Subject: [PATCH] fixed compile error when HAVE_CUDA is not defined --- modules/gpu/src/imgproc_gpu.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/modules/gpu/src/imgproc_gpu.cpp b/modules/gpu/src/imgproc_gpu.cpp index a46704a12..57fa47b07 100644 --- a/modules/gpu/src/imgproc_gpu.cpp +++ b/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) */ \ No newline at end of file +#endif /* !defined (HAVE_CUDA) */