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

This commit is contained in:
Bartek Kryza
2022-12-20 23:56:18 +01:00
parent 8e4c2af279
commit e32e4cd2aa
8 changed files with 17 additions and 36 deletions

View File

@@ -29,7 +29,7 @@ std::shared_ptr<decorator> decorator::from_string(std::string_view c)
if (c.find(note::label) == 0) {
return note::from_string(c);
}
else if (c.find(skip_relationship::label) == 0) {
if (c.find(skip_relationship::label) == 0) {
return skip_relationship::from_string(c);
}
else if (c.find(skip::label) == 0) {