fixed compile error when HAVE_CUDA is not defined
This commit is contained in:
parent
eb6994f58a
commit
05d702b139
@ -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…
x
Reference in New Issue
Block a user