From 763bc36563d2f358debf283fafe2efeb54a95c23 Mon Sep 17 00:00:00 2001 From: Eric Fischer Date: Tue, 15 Sep 2015 13:23:34 -0700 Subject: [PATCH] Add const to fix the build --- tile.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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;