From 91578fb7b74c0ba93df64de97876941fe4fc8cc1 Mon Sep 17 00:00:00 2001 From: Michal Jarzabek Date: Tue, 7 Jun 2016 21:22:55 +0100 Subject: [PATCH] osdc/ObjectCacher.h: add const to member functions Signed-off-by: Michal Jarzabek --- src/osdc/ObjectCacher.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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; } -- 2.39.5