Skip to content

Commit 41482fe

Browse files
author
Roman Donchenko
committed
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).
1 parent 4cf7a96 commit 41482fe

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

modules/stitching/src/matchers.cpp

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -68,10 +68,6 @@ struct DistIdxPair
6868

6969
struct MatchPairsBody : ParallelLoopBody
7070
{
71-
MatchPairsBody(const MatchPairsBody& other)
72-
: matcher(other.matcher), features(other.features),
73-
pairwise_matches(other.pairwise_matches), near_pairs(other.near_pairs) {}
74-
7571
MatchPairsBody(FeaturesMatcher &_matcher, const vector<ImageFeatures> &_features,
7672
vector<MatchesInfo> &_pairwise_matches, vector<pair<int,int> > &_near_pairs)
7773
: matcher(_matcher), features(_features),

0 commit comments

Comments
 (0)