From c439702f0c28ebb57e1ef7d9f99bb33711e51fd4 Mon Sep 17 00:00:00 2001 From: Vladislav Vinogradov Date: Mon, 9 Sep 2013 10:51:44 +0400 Subject: [PATCH] added missing gpu::matchTemplate implementation for non-CUDA build --- modules/gpu/src/match_template.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/modules/gpu/src/match_template.cpp b/modules/gpu/src/match_template.cpp index 4643f3b52..2587803da 100644 --- a/modules/gpu/src/match_template.cpp +++ b/modules/gpu/src/match_template.cpp @@ -49,6 +49,7 @@ using namespace std; #if !defined (HAVE_CUDA) || defined (CUDA_DISABLER) void cv::gpu::matchTemplate(const GpuMat&, const GpuMat&, GpuMat&, int, Stream&) { throw_nogpu(); } +void cv::gpu::matchTemplate(const GpuMat&, const GpuMat&, GpuMat&, int, MatchTemplateBuf&, Stream&) { throw_nogpu(); } #else