diff --git a/modules/gpu/src/match_template.cpp b/modules/gpu/src/match_template.cpp index 4643f3b524..2587803da0 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