From 7778d162d7d034194b3cb0a6d8937f5f80ad448f Mon Sep 17 00:00:00 2001 From: John Spray Date: Sun, 3 Jan 2016 18:40:12 +0000 Subject: [PATCH] include/CompatSet: trivial const-ness fix Signed-off-by: John Spray --- src/include/CompatSet.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/include/CompatSet.h b/src/include/CompatSet.h index d3afd402cc45f..43c1ec1603b94 100644 --- a/src/include/CompatSet.h +++ b/src/include/CompatSet.h @@ -154,7 +154,7 @@ struct CompatSet { * -1: This CompatSet is missing at least one feature * described in the other. It may still have more features, though. */ - int compare(CompatSet& other) { + int compare(const CompatSet& other) { if ((other.compat.mask == compat.mask) && (other.ro_compat.mask == ro_compat.mask) && (other.incompat.mask == incompat.mask)) return 0; -- 2.39.5