summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2021-10-15 12:12:33 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2021-10-15 12:12:33 +0200
commit09bfb25f9038cc06c7e4241fb0dde91affd895fa (patch)
tree2610d9ecf108cb21a6c3dfdc7cbec8a86d629823
parent62e38666e63fdb89343b7ad20e2d082f7c00158b (diff)
Work around MSVC 16.11 /std:c++20 issueHEADmaster
-rw-r--r--libxsd/xsd/cxx/xml/dom/serialization-header.txx4
1 files changed, 3 insertions, 1 deletions
diff --git a/libxsd/xsd/cxx/xml/dom/serialization-header.txx b/libxsd/xsd/cxx/xml/dom/serialization-header.txx
index 997dfe9..4b9ebdd 100644
--- a/libxsd/xsd/cxx/xml/dom/serialization-header.txx
+++ b/libxsd/xsd/cxx/xml/dom/serialization-header.txx
@@ -174,7 +174,9 @@ namespace xsd
atts.push_back (a);
}
- for (std::vector<DOMAttr*>::iterator i (atts.begin ()),
+ // Qualify DOMAttr to work around MSVC 16.11 /std:c++20 issue.
+ //
+ for (std::vector<xercesc::DOMAttr*>::iterator i (atts.begin ()),
end (atts.end ()); i != end; ++i)
{
e.removeAttributeNode (*i);