Mercurial > hg > orthanc
changeset 225:03aa59ecf6d8
fix for mingw
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Thu, 29 Nov 2012 22:28:05 +0100 |
parents | 4eb0c7ce86c9 |
children | 8a26a8e85edf |
files | OrthancServer/OrthancRestApi2.cpp |
diffstat | 1 files changed, 2 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/OrthancServer/OrthancRestApi2.cpp Thu Nov 29 22:22:00 2012 +0100 +++ b/OrthancServer/OrthancRestApi2.cpp Thu Nov 29 22:28:05 2012 +0100 @@ -45,7 +45,8 @@ #define RETRIEVE_CONTEXT(call) \ - ServerContext& context = dynamic_cast<OrthancRestApi2&>(call.GetContext()).GetContext() + OrthancRestApi2& contextApi = dynamic_cast<OrthancRestApi2&>(call.GetContext()); \ + ServerContext& context = contextApi.GetContext() namespace Orthanc