clang-format: copy latest and re-format
clang-format-17 has some backwards incompatible changes that require
additional settings for best compatibility and re-running the formatter.
Copy the latest .clang-format from the docs repository and reformat the
repository.
Change-Id: I016cb74930cc475843c30bd604e739058effa504
Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
diff --git a/src/utils/make_id_name.cpp b/src/utils/make_id_name.cpp
index 1148622..0f78ab6 100644
--- a/src/utils/make_id_name.cpp
+++ b/src/utils/make_id_name.cpp
@@ -49,12 +49,11 @@
{
strippedId = defaultName;
}
- strippedId.erase(std::remove_if(
- strippedId.begin(), strippedId.end(),
- [](char c) {
+ strippedId.erase(std::remove_if(strippedId.begin(), strippedId.end(),
+ [](char c) {
return c == '/' || utils::constants::allowedCharactersInPath.find(c) ==
std::string_view::npos;
- }),
+ }),
strippedId.end());
size_t idx = 0;