Permalink
Browse files

Show that variable is unused in ctor

  • Loading branch information...
mathbunnyru authored and jlblancoc committed Nov 26, 2017
1 parent 1e9e772 commit 579ae15468bf208518e8b8c7461ff3ca1b85ad3c
Showing with 1 addition and 1 deletion.
  1. +1 −1 examples/KDTreeVectorOfVectorsAdaptor.h
@@ -56,7 +56,7 @@ struct KDTreeVectorOfVectorsAdaptor
index_t* index; //! The kd-tree index for the user to call its methods as usual with any other FLANN index.
/// Constructor: takes a const ref to the vector of vectors object with the data points
KDTreeVectorOfVectorsAdaptor(const int dimensionality, const VectorOfVectorsType &mat, const int leaf_max_size = 10) : m_data(mat)
KDTreeVectorOfVectorsAdaptor(const int /* dimensionality */, const VectorOfVectorsType &mat, const int leaf_max_size = 10) : m_data(mat)
{
assert(mat.size() != 0 && mat[0].size() != 0);
const size_t dims = mat[0].size();

0 comments on commit 579ae15

Please sign in to comment.