Skip to content

Commit 952f3c4

Browse files
committed
Prevent code duplication for enum
Small omission found by tests
1 parent 83455ae commit 952f3c4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/xmlgen.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1498,7 +1498,7 @@ static void generateXMLForClass(const ClassDef *cd,TextStream &ti)
14981498
if (bcd.prot == Protection::Package) ASSERT(0);
14991499
t << " <derivedcompoundref refid=\""
15001500
<< classOutputFileBase(bcd.classDef)
1501-
<< "prot=\"";
1501+
<< "\" prot=\"";
15021502
t << to_string_lower(bcd.prot);
15031503
t << "\" virt=\"";
15041504
t << to_string_lower(bcd.virt);

0 commit comments

Comments
 (0)