Mercurial > hg > orthanc
diff OrthancServer/Sources/Database/Compatibility/IGetChildrenMetadata.cpp @ 4623:95ffe3b6ef7c db-changes
handling of revisions for metadata
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Fri, 16 Apr 2021 17:13:03 +0200 |
parents | d9473bd5ed43 |
children | f0038043fb97 7053502fbf97 |
line wrap: on
line diff
--- a/OrthancServer/Sources/Database/Compatibility/IGetChildrenMetadata.cpp Fri Apr 16 10:48:57 2021 +0200 +++ b/OrthancServer/Sources/Database/Compatibility/IGetChildrenMetadata.cpp Fri Apr 16 17:13:03 2021 +0200 @@ -56,7 +56,8 @@ it = children.begin(); it != children.end(); ++it) { std::string value; - if (database.LookupMetadata(value, *it, metadata)) + int64_t revision; // Ignored + if (database.LookupMetadata(value, revision, *it, metadata)) { target.push_back(value); }