From: John Spray Date: Sun, 3 Jan 2016 18:40:12 +0000 (+0000) Subject: include/CompatSet: trivial const-ness fix X-Git-Tag: v10.1.0~144^2~15 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=7778d162d7d034194b3cb0a6d8937f5f80ad448f;p=ceph.git include/CompatSet: trivial const-ness fix Signed-off-by: John Spray --- diff --git a/src/include/CompatSet.h b/src/include/CompatSet.h index d3afd402cc45..43c1ec1603b9 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;