Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in / Register
Toggle navigation
O
opencv
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Packages
Packages
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
submodule
opencv
Commits
1cf96d36
Commit
1cf96d36
authored
Apr 10, 2012
by
Andrey Kamaev
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Corrected fix of flann deprecation warnings
parent
45077648
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
1 deletion
+7
-1
flann.hpp
modules/flann/include/opencv2/flann/flann.hpp
+7
-1
No files found.
modules/flann/include/opencv2/flann/flann.hpp
View file @
1cf96d36
...
...
@@ -225,7 +225,11 @@ int GenericIndex<Distance>::radiusSearch(const Mat& query, Mat& indices, Mat& di
* @deprecated Use GenericIndex class instead
*/
template
<
typename
T
>
class
Index_
{
class
#ifndef _MSC_VER
FLANN_DEPRECATED
#endif
Index_
{
public
:
typedef
typename
L2
<
T
>::
ElementType
ElementType
;
typedef
typename
L2
<
T
>::
ResultType
DistanceType
;
...
...
@@ -277,8 +281,10 @@ private:
::
cvflann
::
Index
<
L1
<
ElementType
>
>*
nnIndex_L1
;
};
#ifdef _MSC_VER
template
<
typename
T
>
class
FLANN_DEPRECATED
Index_
;
#endif
template
<
typename
T
>
Index_
<
T
>::
Index_
(
const
Mat
&
dataset
,
const
::
cvflann
::
IndexParams
&
params
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment