Fixed formatting

This commit is contained in:
Bartek Kryza
2021-05-22 14:11:27 +02:00
parent e1c6da5f2e
commit 1c44f73afd
3 changed files with 5 additions and 6 deletions

View File

@@ -137,7 +137,8 @@ public:
void generate_alias(const enum_ &e, std::ostream &ostr) const
{
ostr << "enum" << " \"" << e.full_name(m_config.using_namespace);
ostr << "enum"
<< " \"" << e.full_name(m_config.using_namespace);
ostr << "\" as " << e.alias() << std::endl;
}
@@ -273,8 +274,7 @@ public:
void generate(const enum_ &e, std::ostream &ostr) const
{
ostr << "enum " << e.alias() << " {"
<< std::endl;
ostr << "enum " << e.alias() << " {" << std::endl;
for (const auto &enum_constant : e.constants) {
ostr << enum_constant << std::endl;

View File

@@ -251,7 +251,6 @@ struct enum_ : public element {
return ostr.str();
}
};
struct diagram {