Fixed clang-tidy warnings

This commit is contained in:
Bartek Kryza
2023-11-12 23:32:31 +01:00
parent 35f45a07e6
commit 7d607848cc
4 changed files with 4 additions and 6 deletions

View File

@@ -80,7 +80,7 @@ void generator::generate_message_comment(
if (comment_generated_from_note_decorators)
return;
if (auto &cmt = m.comment();
if (const auto &cmt = m.comment();
config().generate_message_comments() && cmt.has_value()) {
ostr << indent(1) << "note over " << generate_alias(from.value())