From 13e392763ba7125d3d82d27da180d19bb0a09955 Mon Sep 17 00:00:00 2001 From: Vladislav Vinogradov Date: Tue, 9 Aug 2011 11:35:42 +0000 Subject: [PATCH] fixed compilation error without cuda --- modules/gpu/src/gpumat.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/modules/gpu/src/gpumat.cpp b/modules/gpu/src/gpumat.cpp index 095957f9d..ca4b147a4 100644 --- a/modules/gpu/src/gpumat.cpp +++ b/modules/gpu/src/gpumat.cpp @@ -389,6 +389,7 @@ GpuMat cv::gpu::GpuMat::reshape(int, int) const { throw_nogpu(); return GpuMat() void cv::gpu::GpuMat::create(int, int, int) { throw_nogpu(); } void cv::gpu::GpuMat::release() {} void cv::gpu::createContinuous(int, int, int, GpuMat&) { throw_nogpu(); } +void cv::gpu::ensureSizeIsEnough(int, int, int, GpuMat&) { throw_nogpu(); } #else /* !defined (HAVE_CUDA) */