Applied readability-const-return-type clang-tidy fixes

This commit is contained in:
Bartek Kryza
2022-12-23 22:46:52 +01:00
parent c1d7f28f57
commit 7fb4ab25ff
4 changed files with 5 additions and 5 deletions

View File

@@ -120,7 +120,7 @@ public:
}
template <typename T = model::participant>
const common::optional_ref<T> get_participant(const clang::Decl *decl) const
common::optional_ref<T> get_participant(const clang::Decl *decl) const
{
assert(decl != nullptr);
@@ -143,7 +143,7 @@ public:
}
template <typename T = model::participant>
const common::optional_ref<T> get_participant(
common::optional_ref<T> get_participant(
common::model::diagram_element::id_t id) const
{
if (diagram().participants().find(id) == diagram().participants().end())