From 460bded3dcd0461a5ab9591abcf1d1c7e754e36d Mon Sep 17 00:00:00 2001 From: Simone Gasparini Date: Tue, 27 Feb 2018 11:16:15 +0100 Subject: [PATCH] [matching] correct emplace_back --- src/aliceVision/matching/ArrayMatcher_kdtreeFlann.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/aliceVision/matching/ArrayMatcher_kdtreeFlann.hpp b/src/aliceVision/matching/ArrayMatcher_kdtreeFlann.hpp index 9793e4a45e..4e2b698b35 100644 --- a/src/aliceVision/matching/ArrayMatcher_kdtreeFlann.hpp +++ b/src/aliceVision/matching/ArrayMatcher_kdtreeFlann.hpp @@ -137,7 +137,7 @@ class ArrayMatcher_kdtreeFlann : public ArrayMatcher { for (size_t j = 0; j < NN; ++j) { - pvec_indices->emplace_back(IndMatch(i, vec_indices[i*NN+j])); + pvec_indices->emplace_back(i, vec_indices[i*NN+j]); pvec_distances->emplace_back(vec_distances[i*NN+j]); } }