diff options
author | B. Stack <bgstack15@gmail.com> | 2023-07-24 15:08:16 -0400 |
---|---|---|
committer | B. Stack <bgstack15@gmail.com> | 2023-07-24 15:08:16 -0400 |
commit | 69e12f5bd10459ff7c239b82519107ae2a755bc0 (patch) | |
tree | 8b22393241df7e46686c9426140582bd747a6d5a /zenXml/zenxml/cvrt_struc.h | |
parent | add upstream 12.4 (diff) | |
download | FreeFileSync-69e12f5bd10459ff7c239b82519107ae2a755bc0.tar.gz FreeFileSync-69e12f5bd10459ff7c239b82519107ae2a755bc0.tar.bz2 FreeFileSync-69e12f5bd10459ff7c239b82519107ae2a755bc0.zip |
add upstream 12.5
Diffstat (limited to 'zenXml/zenxml/cvrt_struc.h')
-rw-r--r-- | zenXml/zenxml/cvrt_struc.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/zenXml/zenxml/cvrt_struc.h b/zenXml/zenxml/cvrt_struc.h index 0bfe5996..40277556 100644 --- a/zenXml/zenxml/cvrt_struc.h +++ b/zenXml/zenxml/cvrt_struc.h @@ -124,9 +124,9 @@ struct ConvertElement<T, ValueType::stlContainer> value.clear(); bool success = true; - const auto itPair = input.getChildren("Item"); + auto [it, itEnd] = input.getChildren(); - std::for_each(itPair.first, itPair.second, [&](const XmlElement& xmlChild) + std::for_each(it, itEnd, [&](const XmlElement& xmlChild) { typename T::value_type childVal; if (zen::readStruc(xmlChild, childVal)) |