Fixed clang-tidy warnings

This commit is contained in:
Bartek Kryza
2023-05-31 23:07:40 +02:00
parent 0973289eb7
commit ae44c2413b
3 changed files with 10 additions and 9 deletions

View File

@@ -164,7 +164,7 @@ void generator::generate(const class_ &c, std::ostream &ostr) const
continue;
try {
generate_relationship(r, rendered_relations, ostr);
generate_relationship(r, rendered_relations);
}
catch (error::uml_alias_missing &e) {
LOG_DBG("Skipping {} relation from {} to {} due "
@@ -436,8 +436,8 @@ void generator::generate_relationships(std::ostream &ostr) const
}
}
void generator::generate_relationship(const relationship &r,
std::set<std::string> &rendered_relations, std::ostream &ostr) const
void generator::generate_relationship(
const relationship &r, std::set<std::string> &rendered_relations) const
{
namespace plantuml_common = clanguml::common::generators::plantuml;

View File

@@ -91,8 +91,8 @@ public:
void generate_relationships(const class_ &c, std::ostream &ostr) const;
void generate_relationship(const relationship &r,
std::set<std::string> &rendered_relations, std::ostream &ostr) const;
void generate_relationship(
const relationship &r, std::set<std::string> &rendered_relations) const;
void generate(const enum_ &e, std::ostream &ostr) const;