Mercurial > hg > orthanc
changeset 3222:63681433b0fc
fix
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Thu, 14 Feb 2019 14:06:07 +0100 |
parents | 4be505c2ac56 |
children | c94f23198946 |
files | UnitTestsSources/FromDcmtkTests.cpp |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/UnitTestsSources/FromDcmtkTests.cpp Thu Feb 14 14:04:04 2019 +0100 +++ b/UnitTestsSources/FromDcmtkTests.cpp Thu Feb 14 14:06:07 2019 +0100 @@ -1559,7 +1559,7 @@ visitor.FormatXml(xml); pugi::xml_document doc; - doc.load_string(xml.c_str()); + doc.load_buffer(xml.c_str(), xml.size()); pugi::xpath_node node = doc.select_single_node("//NativeDicomModel/DicomAttribute[@tag=\"00080005\"]/Value"); ASSERT_STREQ("ISO_IR 192", node.node().text().as_string());