Skip to content

Commit

Permalink
Fix build issue reported by Fedora 25 ci when moments-combine-matrice…
Browse files Browse the repository at this point in the history
…s is enabled

modules/visual_features/src/visual-feature/vpFeatureMomentGravityCenterNormalized.cpp:73:105: error: use of deleted function ‘vpFeatureMomentAreaNormalized::vpFeatureMomentAreaNormalized(const vpFeatureMomentAreaNormalized&)’
  • Loading branch information
fspindle committed Jan 10, 2025
1 parent abf3419 commit bb0a117
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -187,11 +187,12 @@ class VISP_EXPORT vpFeatureMoment : public vpBasicFeature
// implemented!"); return *this;
// }
//#endif

#if !defined(VISP_MOMENTS_COMBINE_MATRICES)
#if (VISP_CXX_STANDARD >= VISP_CXX_STANDARD_11)
vpFeatureMoment(const vpFeatureMoment &) = delete; // non construction-copyable
vpFeatureMoment &operator=(const vpFeatureMoment &) = delete; // non copyable
#endif
#endif

public:
/*!
Expand Down

0 comments on commit bb0a117

Please sign in to comment.