Skip to content

Commit a960877

Browse files
committed
Merge moved code from opencv/3.4
2 parents 10bfd2d + 5b640a5 commit a960877

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

modules/cudaarithm/src/lut.cpp

+3-2
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,6 @@
44

55
#include "precomp.hpp"
66

7-
#include "lut.hpp"
8-
97
using namespace cv;
108
using namespace cv::cuda;
119

@@ -15,6 +13,9 @@ Ptr<LookUpTable> cv::cuda::createLookUpTable(InputArray) { throw_no_cuda(); retu
1513

1614
#else /* !defined (HAVE_CUDA) || defined (CUDA_DISABLER) */
1715

16+
// lut.hpp includes cuda_runtime.h and can only be included when we have CUDA
17+
#include "lut.hpp"
18+
1819
Ptr<LookUpTable> cv::cuda::createLookUpTable(InputArray lut)
1920
{
2021
return makePtr<LookUpTableImpl>(lut);

0 commit comments

Comments
 (0)