Commit fc0e8357 authored by Roman Donchenko's avatar Roman Donchenko

Boring changes - gpuwarping.

parent d33ff4bb
...@@ -237,7 +237,7 @@ Ptr<ImagePyramid> cv::gpu::createImagePyramid(InputArray img, int nLayers, Strea ...@@ -237,7 +237,7 @@ Ptr<ImagePyramid> cv::gpu::createImagePyramid(InputArray img, int nLayers, Strea
throw_no_cuda(); throw_no_cuda();
return Ptr<ImagePyramid>(); return Ptr<ImagePyramid>();
#else #else
return new ImagePyramidImpl(img, nLayers, stream); return Ptr<ImagePyramid>(new ImagePyramidImpl(img, nLayers, stream));
#endif #endif
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment