clang can't find a sort comparison operator that's not properly const
This commit is contained in:
parent
2416a12cd8
commit
e8f56ad2a6
12
geo/gpstk/patches/patch-apps_reszilla_CycleSlipList_hpp
Normal file
12
geo/gpstk/patches/patch-apps_reszilla_CycleSlipList_hpp
Normal file
@ -0,0 +1,12 @@
|
||||
$OpenBSD: patch-apps_reszilla_CycleSlipList_hpp,v 1.1 2017/04/27 21:15:04 espie Exp $
|
||||
--- apps/reszilla/CycleSlipList.hpp.orig Thu Apr 27 23:13:07 2017
|
||||
+++ apps/reszilla/CycleSlipList.hpp Thu Apr 27 23:13:14 2017
|
||||
@@ -53,7 +53,7 @@ struct CycleSlipRecord
|
||||
double preGap; // time between the end of the previous arc and this point
|
||||
long postCount; // how long the arc after the slip is
|
||||
|
||||
- bool operator<(const CycleSlipRecord& right)
|
||||
+ bool operator<(const CycleSlipRecord& right) const
|
||||
{ return t < right.t; }
|
||||
};
|
||||
|
Loading…
x
Reference in New Issue
Block a user