Added no-imp placeholder when HAVE_CUDA is false

This commit is contained in:
chacha21 2024-08-01 10:00:31 +02:00
parent 2db7f8e827
commit f67d4852bf

View File

@ -420,6 +420,11 @@ void cv::cuda::GpuMat::setDefaultAllocator(Allocator* allocator)
throw_no_cuda();
}
GpuMat::Allocator* cv::cuda::GpuMat::getStdAllocator()
{
return 0;
}
void cv::cuda::GpuMat::create(int _rows, int _cols, int _type)
{
CV_UNUSED(_rows);