Commit a6104bd0 authored by Ilya Lavrenov's avatar Ilya Lavrenov

fixed unused function in case of unavailable CUDA

parent 983799d3
...@@ -46,6 +46,7 @@ ...@@ -46,6 +46,7 @@
using namespace cv; using namespace cv;
using namespace cv::cuda; using namespace cv::cuda;
#ifdef HAVE_CUDA
namespace namespace
{ {
size_t alignUpStep(size_t what, size_t alignment) size_t alignUpStep(size_t what, size_t alignment)
...@@ -56,6 +57,7 @@ namespace ...@@ -56,6 +57,7 @@ namespace
return res; return res;
} }
} }
#endif
void cv::cuda::CudaMem::create(int rows_, int cols_, int type_) void cv::cuda::CudaMem::create(int rows_, int cols_, int type_)
{ {
......
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