From: Ilya Lavrenov Date: Sat, 1 Feb 2014 14:11:19 +0000 (+0400) Subject: fixed unused function in case of unavailable CUDA X-Git-Tag: submit/tizen_ivi/20141117.190038~2^2~663^2 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=a6104bd025e6ff46a6909759fcfca3b2c8a1dad2;p=profile%2Fivi%2Fopencv.git fixed unused function in case of unavailable CUDA --- diff --git a/modules/core/src/cuda_host_mem.cpp b/modules/core/src/cuda_host_mem.cpp index 0eb7360..15a0d9a 100644 --- a/modules/core/src/cuda_host_mem.cpp +++ b/modules/core/src/cuda_host_mem.cpp @@ -46,6 +46,7 @@ using namespace cv; using namespace cv::cuda; +#ifdef HAVE_CUDA namespace { size_t alignUpStep(size_t what, size_t alignment) @@ -56,6 +57,7 @@ namespace return res; } } +#endif void cv::cuda::CudaMem::create(int rows_, int cols_, int type_) {