]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
msg/Event.h: add const to member function 10224/head
authorMichal Jarzabek <stiopa@gmail.com>
Sat, 9 Jul 2016 07:38:20 +0000 (08:38 +0100)
committerMichal Jarzabek <stiopa@gmail.com>
Sat, 9 Jul 2016 07:38:20 +0000 (08:38 +0100)
Signed-off-by: Michal Jarzabek <stiopa@gmail.com>
src/msg/async/Event.h

index 7375e6d9fa501088be954380f7ddf09c609730c8..f35691609cbe0736499497fc939bb8fb1165779b 100644 (file)
@@ -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);