From fc0e835762825771530b4ab90cace5c52cf7a638 Mon Sep 17 00:00:00 2001 From: Roman Donchenko Date: Tue, 13 Aug 2013 18:58:46 +0400 Subject: [PATCH] Boring changes - gpuwarping. --- modules/gpuwarping/src/pyramids.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/gpuwarping/src/pyramids.cpp b/modules/gpuwarping/src/pyramids.cpp index 0e8445df2c..aa86e3a40b 100644 --- a/modules/gpuwarping/src/pyramids.cpp +++ b/modules/gpuwarping/src/pyramids.cpp @@ -237,7 +237,7 @@ Ptr cv::gpu::createImagePyramid(InputArray img, int nLayers, Strea throw_no_cuda(); return Ptr(); #else - return new ImagePyramidImpl(img, nLayers, stream); + return Ptr(new ImagePyramidImpl(img, nLayers, stream)); #endif }