Fix build warnings from gcc 4.8
This commit is contained in:

committed by
Andrey Pavlenko

parent
9cce8ca4b6
commit
2665c39a0d
@@ -42,7 +42,6 @@ template <typename Distance>
|
||||
void find_nearest(const Matrix<typename Distance::ElementType>& dataset, typename Distance::ElementType* query, int* matches, int nn,
|
||||
int skip = 0, Distance distance = Distance())
|
||||
{
|
||||
typedef typename Distance::ElementType ElementType;
|
||||
typedef typename Distance::ResultType DistanceType;
|
||||
int n = nn + skip;
|
||||
|
||||
|
Reference in New Issue
Block a user