Commit 00cbb894 authored by Alexander Alekhin's avatar Alexander Alekhin

CUDA: drop OPENCV_TRAITS_ENABLE_DEPRECATED requirement

parent a0f86479
...@@ -77,10 +77,6 @@ ocv_target_link_libraries(${the_module} LINK_PRIVATE ...@@ -77,10 +77,6 @@ ocv_target_link_libraries(${the_module} LINK_PRIVATE
"${OPENCV_HAL_LINKER_LIBS}" "${OPENCV_HAL_LINKER_LIBS}"
) )
if(HAVE_CUDA)
ocv_target_compile_definitions(${the_module} PUBLIC OPENCV_TRAITS_ENABLE_DEPRECATED)
endif()
ocv_add_accuracy_tests() ocv_add_accuracy_tests()
ocv_add_perf_tests() ocv_add_perf_tests()
......
...@@ -222,7 +222,7 @@ CUDA_TEST_P(ORB, Accuracy) ...@@ -222,7 +222,7 @@ CUDA_TEST_P(ORB, Accuracy)
{ {
std::vector<cv::KeyPoint> keypoints; std::vector<cv::KeyPoint> keypoints;
cv::cuda::GpuMat descriptors; cv::cuda::GpuMat descriptors;
orb->detectAndComputeAsync(loadMat(image), loadMat(mask), keypoints, descriptors); orb->detectAndComputeAsync(loadMat(image), loadMat(mask), rawOut(keypoints), descriptors);
} }
catch (const cv::Exception& e) catch (const cv::Exception& e)
{ {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment