Fixing GCC warning

pull/710/head
Vladislav Samsonov 9 years ago
parent 5146e0d2e4
commit 2016e90c7d
  1. 2
      modules/optflow/src/sparse_matching_gpc.cpp

@ -67,7 +67,7 @@ struct Magnitude
Magnitude( float _val, int _i, int _j ) : val( _val ), i( _i ), j( _j ) {}
Magnitude() {}
bool operator<( const Magnitude &m ) { return val > m.val; }
bool operator<( const Magnitude &m ) const { return val > m.val; }
};
struct PartitionPredicate1

Loading…
Cancel
Save