From 001bbfb4f95b385a8874e0c51d228b9a07ed3e8b Mon Sep 17 00:00:00 2001 From: Andrey Morozov Date: Mon, 16 Aug 2010 08:47:29 +0000 Subject: [PATCH] fixed build without cuda --- modules/gpu/src/matrix_operations.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/gpu/src/matrix_operations.cpp b/modules/gpu/src/matrix_operations.cpp index 03e4fc6ad..5adabbbc0 100644 --- a/modules/gpu/src/matrix_operations.cpp +++ b/modules/gpu/src/matrix_operations.cpp @@ -68,7 +68,7 @@ namespace cv void GpuMat::release() { throw_nogpu(); } void MatPL::create(int /*_rows*/, int /*_cols*/, int /*_type*/, int /*type_alloc*/) { throw_nogpu(); } - void MatPL::get_property_device() { throw_nogpu(); } + bool MatPL::can_device_map_to_host() { throw_nogpu(); } void MatPL::release() { throw_nogpu(); } }