Skip to content

Commit

Permalink
BUG: Patch missing const qualifier to GDCM dircos_comp comparison
Browse files Browse the repository at this point in the history
  • Loading branch information
blowekamp authored and dzenanz committed Aug 21, 2019
1 parent a47c974 commit 90ad651
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ struct dircos_key {
};

struct dircos_comp {
bool operator()( dircos_key const & lhs, dircos_key const & rhs ) {
bool operator()( dircos_key const & lhs, dircos_key const & rhs ) const {
const double *iop1 = lhs.dircos;
const double *iop2 = rhs.dircos;
return std::lexicographical_compare(iop1, iop1+6,
Expand Down

0 comments on commit 90ad651

Please sign in to comment.