From 1ac097ce5730c9df10c87d96151020e630751c30 Mon Sep 17 00:00:00 2001 From: Andrey Morozov Date: Mon, 16 Aug 2010 08:49:34 +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 5adabbbc08..4881bac644 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(); } - bool MatPL::can_device_map_to_host() { throw_nogpu(); } + bool MatPL::can_device_map_to_host() { throw_nogpu(); return false; } void MatPL::release() { throw_nogpu(); } }