Mercurial > hg > orthanc
diff OrthancServer/OrthancRestApi.cpp @ 357:8d3a0db39967
fix of standalone builds
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Thu, 31 Jan 2013 14:06:34 +0100 |
parents | 64625960af22 |
children | 4d5f0857ec9c |
line wrap: on
line diff
--- a/OrthancServer/OrthancRestApi.cpp Thu Jan 31 11:32:00 2013 +0100 +++ b/OrthancServer/OrthancRestApi.cpp Thu Jan 31 14:06:34 2013 +0100 @@ -913,8 +913,11 @@ for (Json::Value::ArrayIndex i = 0; i < removals.size(); i++) { - DicomTag tag = FromDcmtkBridge::ParseTag(removals[i].asString()); + std::string name = removals[i].asString(); + DicomTag tag = FromDcmtkBridge::ParseTag(name); target.insert(tag); + + VLOG(1) << "Removal: " << name << " " << tag << std::endl; } } @@ -937,6 +940,8 @@ DicomTag tag = FromDcmtkBridge::ParseTag(name); target[tag] = value; + + VLOG(1) << "Replacement: " << name << " " << tag << " == " << value << std::endl; } } @@ -1148,7 +1153,6 @@ RestApi::PostCall& call) { boost::mutex::scoped_lock lock(cacheMutex_); - RETRIEVE_CONTEXT(call); std::string id = call.GetUriComponent("id", "");