Mercurial > hg > orthanc
diff Plugins/Engine/OrthancPlugins.cpp @ 3140:977158ab0623
making db-changes the new mainline
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Thu, 17 Jan 2019 18:32:42 +0100 |
parents | a323b75e5b08 |
children | fca730c267d7 |
line wrap: on
line diff
--- a/Plugins/Engine/OrthancPlugins.cpp Thu Jan 17 18:29:16 2019 +0100 +++ b/Plugins/Engine/OrthancPlugins.cpp Thu Jan 17 18:32:42 2019 +0100 @@ -1648,7 +1648,7 @@ throw OrthancException(ErrorCode_InternalError); } - std::list<std::string> result; + std::vector<std::string> result; { PImpl::ServerContextLock lock(*pimpl_); @@ -1657,7 +1657,7 @@ if (result.size() == 1) { - *p.result = CopyString(result.front()); + *p.result = CopyString(result[0]); } else {