Erase MatchPairsBody's copy constructor.
It's the same as the implicitly defined one, and it causes a -Wextra warning (not initializing the base class in a copy constructor).
This commit is contained in:
parent
4cf7a963a0
commit
41482fe56c
@ -68,10 +68,6 @@ struct DistIdxPair
|
||||
|
||||
struct MatchPairsBody : ParallelLoopBody
|
||||
{
|
||||
MatchPairsBody(const MatchPairsBody& other)
|
||||
: matcher(other.matcher), features(other.features),
|
||||
pairwise_matches(other.pairwise_matches), near_pairs(other.near_pairs) {}
|
||||
|
||||
MatchPairsBody(FeaturesMatcher &_matcher, const vector<ImageFeatures> &_features,
|
||||
vector<MatchesInfo> &_pairwise_matches, vector<pair<int,int> > &_near_pairs)
|
||||
: matcher(_matcher), features(_features),
|
||||
|
Loading…
x
Reference in New Issue
Block a user