From: Vladislav Vinogradov Date: Tue, 13 Jan 2015 07:25:34 +0000 (+0300) Subject: fix compilation without CUDA X-Git-Tag: accepted/tizen/6.0/unified/20201030.111113~2733^2~4 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=554ddd2ec49f4df46c7b23ac257c21fda0a449d0;p=platform%2Fupstream%2Fopencv.git fix compilation without CUDA --- diff --git a/modules/cudafeatures2d/src/fast.cpp b/modules/cudafeatures2d/src/fast.cpp index cb22ea5..2095ef7 100644 --- a/modules/cudafeatures2d/src/fast.cpp +++ b/modules/cudafeatures2d/src/fast.cpp @@ -47,7 +47,7 @@ using namespace cv::cuda; #if !defined (HAVE_CUDA) || defined (CUDA_DISABLER) -Ptr cv::cuda::FastFeatureDetector::create(int, bool, int, int) { throw_no_cuda(); return Ptr(); } +Ptr cv::cuda::FastFeatureDetector::create(int, bool, int, int) { throw_no_cuda(); return Ptr(); } #else /* !defined (HAVE_CUDA) */