Fixed formatting

This commit is contained in:
Bartek Kryza
2022-01-22 23:36:15 +01:00
parent b931845ad0
commit 7f1db14e29
3 changed files with 34 additions and 32 deletions

View File

@@ -79,8 +79,7 @@ std::string generator::name(relationship_t r) const
}
}
void generator::generate(
const package &p, std::ostream &ostr) const
void generator::generate(const package &p, std::ostream &ostr) const
{
const auto uns = m_config.using_namespace;

View File

@@ -149,9 +149,9 @@ bool starts_with(const std::vector<T> &col, const std::vector<T> &prefix)
template <typename T>
void remove_prefix(std::vector<T> &col, const std::vector<T> &prefix)
{
if(!starts_with(col, prefix))
if (!starts_with(col, prefix))
return;
col = std::vector<T>(col.begin()+prefix.size(), col.end());
col = std::vector<T>(col.begin() + prefix.size(), col.end());
}
}