Fixed formatting
This commit is contained in:
@@ -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;
|
||||
|
||||
|
||||
@@ -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());
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user