diff --git a/include/engine/api/base_api.hpp b/include/engine/api/base_api.hpp index 556b3e41c..0cd066d0f 100644 --- a/include/engine/api/base_api.hpp +++ b/include/engine/api/base_api.hpp @@ -130,7 +130,7 @@ class BaseAPI const auto toName = [this](const auto &phantom) { return std::string( facade.GetNameForID(facade.GetNameIndex(phantom.forward_segment_id.id))); - }; + }; const auto noEmpty = [](const auto &name) { return !name.empty(); }; // At an intersection we may have multiple phantom node candidates. diff --git a/include/util/guidance/name_announcements.hpp b/include/util/guidance/name_announcements.hpp index 3fee48512..112da7f8c 100644 --- a/include/util/guidance/name_announcements.hpp +++ b/include/util/guidance/name_announcements.hpp @@ -71,10 +71,8 @@ template inline auto decompose(const StringView &lhs, cons // we compare suffixes based on this value, it might break UTF chars, but as long as we are // consistent in handling, we do not create bad results std::string str(view); - std::transform(str.begin(), - str.end(), - str.begin(), - [](unsigned char c) { return std::tolower(c); } + std::transform( + str.begin(), str.end(), str.begin(), [](unsigned char c) { return std::tolower(c); }); ); auto front = str.find_first_not_of(' ');