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(); } }