mirror of
https://github.com/opencv/opencv.git
synced 2025-06-07 09:25:45 +08:00
core: address clang warnings
This commit is contained in:
parent
a8ec658611
commit
19527d79d6
@ -99,7 +99,7 @@ namespace cv { namespace cuda
|
||||
}
|
||||
|
||||
#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"); }
|
||||
#else
|
||||
//TODO: remove from OpenCV 5.x
|
||||
|
Loading…
Reference in New Issue
Block a user