Mercurial > hg > orthanc
comparison OrthancFramework/Sources/RestApi/RestApiPostCall.h @ 4203:4d42408da117
improving const-correctness in ParsedDicomFile
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Thu, 17 Sep 2020 15:01:31 +0200 |
parents | bf7b9edf6b81 |
children | a01b1c9cbef4 |
comparison
equal
deleted
inserted
replaced
4202:2007ab69ac16 | 4203:4d42408da117 |
---|---|
66 void BodyToString(std::string& result) const | 66 void BodyToString(std::string& result) const |
67 { | 67 { |
68 result.assign(reinterpret_cast<const char*>(bodyData_), bodySize_); | 68 result.assign(reinterpret_cast<const char*>(bodyData_), bodySize_); |
69 } | 69 } |
70 | 70 |
71 virtual bool ParseJsonRequest(Json::Value& result) const | 71 virtual bool ParseJsonRequest(Json::Value& result) const ORTHANC_OVERRIDE |
72 { | 72 { |
73 return ParseJsonRequestInternal(result, reinterpret_cast<const char*>(bodyData_), bodySize_); | 73 return ParseJsonRequestInternal(result, reinterpret_cast<const char*>(bodyData_), bodySize_); |
74 } | 74 } |
75 }; | 75 }; |
76 } | 76 } |