diff --git a/tile.cc b/tile.cc index d4f6003d..80a96dbe 100644 --- a/tile.cc +++ b/tile.cc @@ -146,7 +146,7 @@ struct coalesce { }; struct preservecmp { - bool operator()(struct coalesce &a, struct coalesce &b) { + bool operator()(const struct coalesce &a, const struct coalesce &b) { return a.original_seq < b.original_seq; } } preservecmp;