diff options
author | Dimitri van Heesch <dimitri@stack.nl> | 2017-12-30 14:07:39 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-12-30 14:07:39 (GMT) |
commit | 9e6d6b696388bf3375ed1a8b92ab79ccad21c3a7 (patch) | |
tree | b2c7f1c06fb098421ffe71adbd76fa3462aaa805 /src | |
parent | d9e9b8a75e031cf9b165d436a2cf748c9b2e4217 (diff) | |
parent | 5db858953001c534341562cfaeba39782abc5ca6 (diff) | |
download | Doxygen-9e6d6b696388bf3375ed1a8b92ab79ccad21c3a7.zip Doxygen-9e6d6b696388bf3375ed1a8b92ab79ccad21c3a7.tar.gz Doxygen-9e6d6b696388bf3375ed1a8b92ab79ccad21c3a7.tar.bz2 |
Merge pull request #635 from mosra/xml-no-warn-on-enum-in-anon-ns
XML output: avoid warnings with scoped enum values in anonymous namespaces
Diffstat (limited to 'src')
-rw-r--r-- | src/xmlgen.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/xmlgen.cpp b/src/xmlgen.cpp index 2222e46..697a4d8 100644 --- a/src/xmlgen.cpp +++ b/src/xmlgen.cpp @@ -954,11 +954,11 @@ static void generateXMLForMember(MemberDef *md,FTextStream &ti,FTextStream &t,De MemberDef *emd; for (emli.toFirst();(emd=emli.current());++emli) { - ti << " <member refid=\"" << memberOutputFileBase(emd) - << "_1" << emd->anchor() << "\" kind=\"enumvalue\"><name>" + ti << " <member refid=\"" << memberOutputFileBase(md) + << "_1" << emd->anchor() << "\" kind=\"enumvalue\"><name>" << convertToXML(emd->name()) << "</name></member>" << endl; - t << " <enumvalue id=\"" << memberOutputFileBase(emd) << "_1" + t << " <enumvalue id=\"" << memberOutputFileBase(md) << "_1" << emd->anchor() << "\" prot=\""; switch (emd->protection()) { |