Mercurial > hg > orthanc-stone
diff Platforms/Generic/DelayedCallCommand.h @ 588:2a8ac2d426db
renamed ColorTextureSceneLayer, dropped dependency on boost::chrono
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Thu, 25 Apr 2019 13:54:42 +0200 |
parents | 26b90b110719 |
children | 4f2416d519b4 |
line wrap: on
line diff
--- a/Platforms/Generic/DelayedCallCommand.h Mon Apr 22 10:07:34 2019 +0200 +++ b/Platforms/Generic/DelayedCallCommand.h Thu Apr 25 13:54:42 2019 +0200 @@ -27,7 +27,8 @@ #include "../../Framework/Messages/IObservable.h" #include "../../Framework/Messages/ICallable.h" #include "../../Applications/Generic/NativeStoneApplicationContext.h" -#include <boost/chrono.hpp> + +#include <boost/date_time/posix_time/posix_time.hpp> namespace OrthancStone { @@ -37,7 +38,7 @@ std::auto_ptr<MessageHandler<IDelayedCallExecutor::TimeoutMessage> > callback_; std::auto_ptr<Orthanc::IDynamicObject> payload_; NativeStoneApplicationContext& context_; - boost::chrono::system_clock::time_point expirationTimePoint_; + boost::posix_time::ptime expirationTimePoint_; unsigned int timeoutInMs_; public: