Mercurial > hg > orthanc
changeset 1776:3c28f5f6c9b7
rename
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Fri, 13 Nov 2015 11:36:51 +0100 |
parents | 1861e410a9d7 |
children | 0f5c416969dc |
files | OrthancServer/OrthancRestApi/OrthancRestArchive.cpp |
diffstat | 1 files changed, 5 insertions(+), 5 deletions(-) [+] |
line wrap: on
line diff
--- a/OrthancServer/OrthancRestApi/OrthancRestArchive.cpp Fri Nov 13 11:18:48 2015 +0100 +++ b/OrthancServer/OrthancRestApi/OrthancRestArchive.cpp Fri Nov 13 11:36:51 2015 +0100 @@ -384,7 +384,7 @@ namespace { - class Resource + class ResourceIdentifiers { private: ResourceType level_; @@ -410,8 +410,8 @@ public: - Resource(ServerIndex& index, - const std::string& publicId) + ResourceIdentifiers(ServerIndex& index, + const std::string& publicId) { if (!index.LookupResourceType(level_, publicId)) { @@ -541,7 +541,7 @@ } } - void Add(const Resource& resource) + void Add(const ResourceIdentifiers& resource) { const std::string& id = resource.GetIdentifier(level_); Resources::iterator previous = resources_.find(id); @@ -743,7 +743,7 @@ return; // Bad request } - Resource resource(index, resources[i].asString()); + ResourceIdentifiers resource(index, resources[i].asString()); archive.Add(resource); }