Applied llvm-else-after-return clang-tidy fixes

This commit is contained in:
Bartek Kryza
2022-12-24 14:58:06 +01:00
parent b734018673
commit c13cc1d118

View File

@@ -38,13 +38,13 @@ std::shared_ptr<decorator> decorator::from_string(std::string_view c)
if (c.find(style::label) == 0) {
return style::from_string(c);
}
else if (c.find(aggregation::label) == 0) {
if (c.find(aggregation::label) == 0) {
return aggregation::from_string(c);
}
else if (c.find(composition::label) == 0) {
if (c.find(composition::label) == 0) {
return composition::from_string(c);
}
else if (c.find(association::label) == 0) {
if (c.find(association::label) == 0) {
return association::from_string(c);
}