mirror of
https://github.com/opencv/opencv.git
synced 2024-11-25 11:40:44 +08:00
Boring changes - gpuarithm.
This commit is contained in:
parent
57595a8308
commit
f8f0685397
@ -629,7 +629,7 @@ Ptr<Convolution> cv::gpu::createConvolution(Size user_block_size)
|
||||
CV_Error(Error::StsNotImplemented, "The library was build without CUFFT");
|
||||
return Ptr<Convolution>();
|
||||
#else
|
||||
return new ConvolutionImpl(user_block_size);
|
||||
return makePtr<ConvolutionImpl>(user_block_size);
|
||||
#endif
|
||||
}
|
||||
|
||||
|
@ -497,7 +497,7 @@ namespace
|
||||
|
||||
Ptr<LookUpTable> cv::gpu::createLookUpTable(InputArray lut)
|
||||
{
|
||||
return new LookUpTableImpl(lut);
|
||||
return makePtr<LookUpTableImpl>(lut);
|
||||
}
|
||||
|
||||
////////////////////////////////////////////////////////////////////////
|
||||
|
Loading…
Reference in New Issue
Block a user