Boring changes - gpuwarping.

This commit is contained in:
Roman Donchenko 2013-08-13 18:58:46 +04:00
parent d33ff4bb11
commit fc0e835762

View File

@ -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
}