]> git.proxmox.com Git - ceph.git/blobdiff - ceph/src/common/Timer.h
update sources to 12.2.2
[ceph.git] / ceph / src / common / Timer.h
index 861b239ca32e12637f7fa8b1bfc1aa472ce23416..8fd478a9934999d4bbee05ef8bf26a44f1113178 100644 (file)
@@ -70,8 +70,8 @@ public:
 
   /* Schedule an event in the future
    * Call with the event_lock LOCKED */
-  bool add_event_after(double seconds, Context *callback);
-  bool add_event_at(utime_t when, Context *callback);
+  Context* add_event_after(double seconds, Context *callback);
+  Context* add_event_at(utime_t when, Context *callback);
 
   /* Cancel an event.
    * Call with the event_lock LOCKED