From 3e4fb8f415ba68c56ba2cded1ab10a75c46d342e Mon Sep 17 00:00:00 2001 From: Alexander Alekhin Date: Thu, 17 Oct 2019 00:44:20 +0000 Subject: [PATCH] xfeatures2d: use updated TLS API --- modules/xfeatures2d/src/sift.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/modules/xfeatures2d/src/sift.cpp b/modules/xfeatures2d/src/sift.cpp index d3b9c8fd5..080e45da9 100644 --- a/modules/xfeatures2d/src/sift.cpp +++ b/modules/xfeatures2d/src/sift.cpp @@ -107,6 +107,8 @@ #include #include +#include + namespace cv { namespace xfeatures2d @@ -709,7 +711,7 @@ void SIFT_Impl::findScaleSpaceExtrema( const std::vector& gauss_pyr, const const int threshold = cvFloor(0.5 * contrastThreshold / nOctaveLayers * 255 * SIFT_FIXPT_SCALE); keypoints.clear(); - TLSData > tls_kpts_struct; + TLSDataAccumulator > tls_kpts_struct; for( int o = 0; o < nOctaves; o++ ) for( int i = 1; i <= nOctaveLayers; i++ )