Skip to content
This repository was archived by the owner on Oct 20, 2022. It is now read-only.

Commit f2bb42e

Browse files
committed
Fix non member unions are not generated in the output
1 parent ea5a2f3 commit f2bb42e

File tree

1 file changed

+11
-2
lines changed

1 file changed

+11
-2
lines changed

src/Doxybook/Doxygen.cpp

Lines changed: 11 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,17 @@
1515
throw DOXYGEN_EXCEPTION("Element {} not found in parent {} file {}", NAME, PARENT->Name(), inputDir);
1616

1717
static bool isKindAllowedLanguage(const std::string& kind) {
18-
static std::set<std::string> values = {
19-
"namespace", "class", "struct", "interface", "function", "variable", "typedef", "enum", "slot", "signal"};
18+
static std::set<std::string> values = {"namespace",
19+
"class",
20+
"struct",
21+
"interface",
22+
"function",
23+
"variable",
24+
"typedef",
25+
"enum",
26+
"slot",
27+
"signal",
28+
"union"};
2029
return values.find(kind) != values.end();
2130
}
2231

0 commit comments

Comments
 (0)