From f8f06853974ea7a1ef54f0db26bb9ea914180f33 Mon Sep 17 00:00:00 2001 From: Roman Donchenko Date: Tue, 13 Aug 2013 18:03:48 +0400 Subject: [PATCH] Boring changes - gpuarithm. --- modules/gpuarithm/src/arithm.cpp | 2 +- modules/gpuarithm/src/core.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/modules/gpuarithm/src/arithm.cpp b/modules/gpuarithm/src/arithm.cpp index eb7d710..78071ba 100644 --- a/modules/gpuarithm/src/arithm.cpp +++ b/modules/gpuarithm/src/arithm.cpp @@ -629,7 +629,7 @@ Ptr cv::gpu::createConvolution(Size user_block_size) CV_Error(Error::StsNotImplemented, "The library was build without CUFFT"); return Ptr(); #else - return new ConvolutionImpl(user_block_size); + return makePtr(user_block_size); #endif } diff --git a/modules/gpuarithm/src/core.cpp b/modules/gpuarithm/src/core.cpp index 2288779..05ea574 100644 --- a/modules/gpuarithm/src/core.cpp +++ b/modules/gpuarithm/src/core.cpp @@ -497,7 +497,7 @@ namespace Ptr cv::gpu::createLookUpTable(InputArray lut) { - return new LookUpTableImpl(lut); + return makePtr(lut); } //////////////////////////////////////////////////////////////////////// -- 2.7.4