Fixed clang-tidy warnings

This commit is contained in:
Bartek Kryza
2024-03-03 23:27:33 +01:00
parent 76fa811869
commit 6cf8c0a995
8 changed files with 20 additions and 37 deletions

View File

@@ -457,8 +457,8 @@ void generator<C, D>::generate_style(std::ostream &ostr,
{
const auto &config = generators::generator<C, D>::config();
if (el.style() && !el.style().value().empty())
ostr << " " << *el.style();
if (el.style() && !el.style().value().empty()) // NOLINT
ostr << " " << *el.style(); // NOLINT
else if (config.puml) {
if (const auto config_style = config.puml().get_style(element_type);
config_style) {