From: Michal Jarzabek Date: Tue, 7 Jun 2016 20:22:55 +0000 (+0100) Subject: osdc/ObjectCacher.h: add const to member functions X-Git-Tag: v11.0.1~187^2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=91578fb7b74c0ba93df64de97876941fe4fc8cc1;p=ceph.git osdc/ObjectCacher.h: add const to member functions Signed-off-by: Michal Jarzabek --- diff --git a/src/osdc/ObjectCacher.h b/src/osdc/ObjectCacher.h index cdd6f33a228..b75efdd3861 100644 --- a/src/osdc/ObjectCacher.h +++ b/src/osdc/ObjectCacher.h @@ -189,14 +189,14 @@ class ObjectCacher { void set_dontneed(bool v) { dontneed = v; } - bool get_dontneed() { + bool get_dontneed() const { return dontneed; } void set_nocache(bool v) { nocache = v; } - bool get_nocache() { + bool get_nocache() const { return nocache; }