Commit 7b90f200 authored by Guilhem Saurel's avatar Guilhem Saurel
Browse files

const correctness for C++17

parent 40ab8a27
Pipeline #14800 passed with stage
in 29 minutes and 45 seconds
......@@ -35,7 +35,7 @@ using namespace std;
namespace PatternGeneratorJRL {
CH_Point HRP2CIO_GlobalP0;
struct ltCH_Point {
bool operator()(const CH_Point &s1, const CH_Point &s2) {
bool operator()(const CH_Point &s1, const CH_Point &s2) const {
double x1, x2, y1, y2;
x1 = s1.col - HRP2CIO_GlobalP0.col;
x2 = s2.col - HRP2CIO_GlobalP0.col;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment