fixed unused function in case of unavailable CUDA

This commit is contained in:
Ilya Lavrenov 2014-02-01 18:11:19 +04:00
parent 983799d398
commit a6104bd025

View File

@ -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
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_)
{ {