Mercurial > hg > orthanc-stone
changeset 304:6c22e0506587 am-callable-and-promise
fix
author | am@osimis.io |
---|---|
date | Tue, 18 Sep 2018 18:20:10 +0200 |
parents | ed1a4302154f |
children | be2660b6e40a |
files | Framework/Messages/IMessage.h |
diffstat | 1 files changed, 2 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/Framework/Messages/IMessage.h Tue Sep 18 18:17:26 2018 +0200 +++ b/Framework/Messages/IMessage.h Tue Sep 18 18:20:10 2018 +0200 @@ -61,7 +61,7 @@ // simple message implementation when no payload is needed // sample usage: // typedef NoPayloadMessage<MessageType_LayerSource_GeometryReady> GeometryReadyMessage; - template <MessageType type> + template <int type> struct NoPayloadMessage : public BaseMessage<type> { NoPayloadMessage() @@ -73,7 +73,7 @@ // simple message implementation when no payload is needed but the origin is required // sample usage: // typedef OriginMessage<MessageType_SliceLoader_GeometryError, OrthancSlicesLoader> SliceGeometryErrorMessage; - template <MessageType type, typename TOrigin> + template <int type, typename TOrigin> struct OriginMessage : public BaseMessage<type> { TOrigin& origin_;