fixed unused function in case of unavailable CUDA

pull/2253/head
Ilya Lavrenov 11 years ago
parent 983799d398
commit a6104bd025
  1. 2
      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_)
{

Loading…
Cancel
Save