Boring changes - gpuarithm.

This commit is contained in:
Roman Donchenko 2013-08-13 18:03:48 +04:00
parent 57595a8308
commit f8f0685397
2 changed files with 2 additions and 2 deletions

View File

@ -629,7 +629,7 @@ Ptr<Convolution> cv::gpu::createConvolution(Size user_block_size)
CV_Error(Error::StsNotImplemented, "The library was build without CUFFT"); CV_Error(Error::StsNotImplemented, "The library was build without CUFFT");
return Ptr<Convolution>(); return Ptr<Convolution>();
#else #else
return new ConvolutionImpl(user_block_size); return makePtr<ConvolutionImpl>(user_block_size);
#endif #endif
} }

View File

@ -497,7 +497,7 @@ namespace
Ptr<LookUpTable> cv::gpu::createLookUpTable(InputArray lut) Ptr<LookUpTable> cv::gpu::createLookUpTable(InputArray lut)
{ {
return new LookUpTableImpl(lut); return makePtr<LookUpTableImpl>(lut);
} }
//////////////////////////////////////////////////////////////////////// ////////////////////////////////////////////////////////////////////////