Merge pull request #24814 from cudawarped:fix_core_clang_warnings

core: fix clang warnings
pull/24819/head
Alexander Smorkalov 11 months ago committed by GitHub
commit 9af4ceed98
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      modules/core/include/opencv2/core/cuda/common.hpp

@ -99,7 +99,7 @@ namespace cv { namespace cuda
} }
#if (CUDART_VERSION >= 12000) #if (CUDART_VERSION >= 12000)
template<class T> inline void createTextureObjectPitch2D(cudaTextureObject_t* tex, PtrStepSz<T>& img, const cudaTextureDesc& texDesc) { template<class T> inline void createTextureObjectPitch2D(cudaTextureObject_t*, PtrStepSz<T>&, const cudaTextureDesc&) {
CV_Error(cv::Error::GpuNotSupported, "Function removed in CUDA SDK 12"); } CV_Error(cv::Error::GpuNotSupported, "Function removed in CUDA SDK 12"); }
#else #else
//TODO: remove from OpenCV 5.x //TODO: remove from OpenCV 5.x

Loading…
Cancel
Save