mirror of
https://github.com/opencv/opencv.git
synced 2025-01-18 06:03:15 +08:00
Boring changes - gpuwarping.
This commit is contained in:
parent
d33ff4bb11
commit
fc0e835762
@ -237,7 +237,7 @@ Ptr<ImagePyramid> cv::gpu::createImagePyramid(InputArray img, int nLayers, Strea
|
||||
throw_no_cuda();
|
||||
return Ptr<ImagePyramid>();
|
||||
#else
|
||||
return new ImagePyramidImpl(img, nLayers, stream);
|
||||
return Ptr<ImagePyramid>(new ImagePyramidImpl(img, nLayers, stream));
|
||||
#endif
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user