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).
pull/971/head
Roman Donchenko 12 years ago
parent 4cf7a963a0
commit 41482fe56c
  1. 4
      modules/stitching/src/matchers.cpp

@ -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…
Cancel
Save