From: Michal Jarzabek Date: Sat, 9 Jul 2016 07:38:20 +0000 (+0100) Subject: msg/Event.h: add const to member function X-Git-Tag: ses5-milestone5~441^2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=72f75d9f63c3b4d391bc6bbc3a732fcca43e13ff;p=ceph.git msg/Event.h: add const to member function Signed-off-by: Michal Jarzabek --- diff --git a/src/msg/async/Event.h b/src/msg/async/Event.h index 7375e6d9fa5..f35691609cb 100644 --- a/src/msg/async/Event.h +++ b/src/msg/async/Event.h @@ -151,7 +151,7 @@ class EventCenter { int init(int nevent, unsigned idx); void set_owner(); - unsigned get_id() { return idx; } + unsigned get_id() const { return idx; } // Used by internal thread int create_file_event(int fd, int mask, EventCallbackRef ctxt);