diff Platforms/Generic/DelayedCallCommand.h @ 1059:e713f1a99861 broker

replacing MessageBroker by weak_ptr
author Sebastien Jodogne <s.jodogne@gmail.com>
date Fri, 11 Oct 2019 17:08:34 +0200
parents c35e98d22764
children 21c2b0eee53c
line wrap: on
line diff
--- a/Platforms/Generic/DelayedCallCommand.h	Fri Oct 11 13:38:35 2019 +0200
+++ b/Platforms/Generic/DelayedCallCommand.h	Fri Oct 11 17:08:34 2019 +0200
@@ -42,8 +42,7 @@
     unsigned int                            timeoutInMs_;
 
   public:
-    DelayedCallCommand(OrthancStone::MessageBroker& broker,
-                       OrthancStone::MessageHandler<IDelayedCallExecutor::TimeoutMessage>* callback,  // takes ownership
+    DelayedCallCommand(OrthancStone::MessageHandler<IDelayedCallExecutor::TimeoutMessage>* callback,  // takes ownership
                        unsigned int timeoutInMs,
                        Orthanc::IDynamicObject* payload /* takes ownership */,
                        OrthancStone::NativeStoneApplicationContext& context