1
0
mirror of https://github.com/opencv/opencv_contrib.git synced 2025-10-17 15:26:00 +08:00

[moved from opencv] fix build error on Jetson TX1 and TX2

adopted to keep using of C++11

original commit: c07af090f5
This commit is contained in:
Tomoaki Teshima
2020-06-18 21:25:15 +09:00
committed by Alexander Alekhin
parent 58f9a9e4da
commit 3b597b9e2f
2 changed files with 2 additions and 2 deletions

View File

@@ -155,7 +155,7 @@ namespace tvl1flow
template <
typename T,
typename = std::enable_if_t<std::is_base_of<SrcTex, T>::value>
typename = typename std::enable_if<std::is_base_of<SrcTex, T>::value>::type
>
__global__ void warpBackwardKernel(
const PtrStepSzf I0, const T src, const PtrStepf u1, const PtrStepf u2,