Mercurial > hg > orthanc
comparison OrthancServer/Sources/OrthancRestApi/OrthancRestApi.cpp @ 4519:a3c6678aa7b1
cppcheck
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Mon, 22 Feb 2021 16:51:23 +0100 |
parents | 8f9090b137f1 |
children | 569d9ef165b1 |
comparison
equal
deleted
inserted
replaced
4518:cb8fcecf1b02 | 4519:a3c6678aa7b1 |
---|---|
62 result["Status"] = EnumerationToString(status); | 62 result["Status"] = EnumerationToString(status); |
63 } | 63 } |
64 | 64 |
65 | 65 |
66 static void SetupResourceAnswer(Json::Value& result, | 66 static void SetupResourceAnswer(Json::Value& result, |
67 DicomInstanceToStore& instance, | 67 const DicomInstanceToStore& instance, |
68 StoreStatus status, | 68 StoreStatus status, |
69 const std::string& instanceId) | 69 const std::string& instanceId) |
70 { | 70 { |
71 SetupResourceAnswer(result, instanceId, ResourceType_Instance, status); | 71 SetupResourceAnswer(result, instanceId, ResourceType_Instance, status); |
72 | 72 |