Mercurial > hg > orthanc
comparison OrthancServer/OrthancRestApi2.cpp @ 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 |
comparison
equal
deleted
inserted
replaced
224:4eb0c7ce86c9 | 225:03aa59ecf6d8 |
---|---|
43 #include <boost/lexical_cast.hpp> | 43 #include <boost/lexical_cast.hpp> |
44 #include <glog/logging.h> | 44 #include <glog/logging.h> |
45 | 45 |
46 | 46 |
47 #define RETRIEVE_CONTEXT(call) \ | 47 #define RETRIEVE_CONTEXT(call) \ |
48 ServerContext& context = dynamic_cast<OrthancRestApi2&>(call.GetContext()).GetContext() | 48 OrthancRestApi2& contextApi = dynamic_cast<OrthancRestApi2&>(call.GetContext()); \ |
49 ServerContext& context = contextApi.GetContext() | |
49 | 50 |
50 | 51 |
51 namespace Orthanc | 52 namespace Orthanc |
52 { | 53 { |
53 // System information ------------------------------------------------------- | 54 // System information ------------------------------------------------------- |