From 689819bab4274d88afb5132f32423e555aeb4de2 Mon Sep 17 00:00:00 2001 From: Michal Jarzabek Date: Mon, 6 Jun 2016 21:55:46 +0100 Subject: [PATCH] common/ceph_json.h: add const to member function Signed-off-by: Michal Jarzabek --- src/common/ceph_json.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/common/ceph_json.h b/src/common/ceph_json.h index 85f3f3656e031..b3961cc783262 100644 --- a/src/common/ceph_json.h +++ b/src/common/ceph_json.h @@ -38,7 +38,7 @@ public: void operator++(); JSONObj *operator*(); - bool end() { + bool end() const { return (cur == last); } }; -- 2.39.5