danini / graph-cut-ransac

The Graph-Cut RANSAC algorithm proposed in paper: Daniel Barath and Jiri Matas; Graph-Cut RANSAC, Conference on Computer Vision and Pattern Recognition, 2018. It is available at http://openaccess.thecvf.com/content_cvpr_2018/papers/Barath_Graph-Cut_RANSAC_CVPR_2018_paper.pdf
Other
431 stars 93 forks source link

Fixes a compilation error for gcc and clang. Changes solver_homograph… #30

Closed arthurfeeney closed 3 years ago

arthurfeeney commented 3 years ago

This fixes an "extra qualification" compilation error that occurs with both gcc and clang. This makes a tiny change to solver_homography_four_point.h to remove the extra qualifications.

This is an example of the compilation error:

error: extra qualification 'gcransac::estimator::solver::HomographyFourPointSolver::' on member 'estimateNonMinimalModel' [-fpermissive]
   86 |     OLGA_INLINE bool HomographyFourPointSolver::estimateNonMinimalModel(
      |                      ^~~~~~~~~~~~~~~~~~~~~~~~~

Just for reference: https://stackoverflow.com/questions/5642367/extra-qualification-error-in-c