Fixed clang-tidy warnings

This commit is contained in:
Bartek Kryza
2023-06-23 20:46:43 +02:00
parent 525b3f74a6
commit 6c6384e5fd
8 changed files with 10 additions and 10 deletions

View File

@@ -43,7 +43,7 @@ public:
diagram_element();
virtual ~diagram_element() = default;
~diagram_element() override = default;
/**
* @brief Returns diagram element id.

View File

@@ -251,8 +251,8 @@ tvl::value_t namespace_filter::match(const diagram &d, const element &e) const
if (is_inclusive)
return e_ns.starts_with(nsit_ns) ||
nsit_ns.starts_with(e_ns) || e_ns == nsit_ns;
else
return e_ns.starts_with(nsit_ns) || e_ns == nsit_ns;
return e_ns.starts_with(nsit_ns) || e_ns == nsit_ns;
}
return std::get<common::regex>(nsit.value()) %=

View File

@@ -52,7 +52,7 @@ public:
std::string multiplicity_source = "",
std::string multiplicity_destination = "");
virtual ~relationship() = default;
~relationship() override = default;
/**
* Set the type of relatinoship.