clang-format: copy latest and re-format
clang-format-16 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: I152f141a5e8343b92b5ce81d3ca16eec77b5606b
Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
diff --git a/json_config.hpp b/json_config.hpp
index 5102ca9..b12cdb9 100644
--- a/json_config.hpp
+++ b/json_config.hpp
@@ -236,11 +236,11 @@
// Look for a config file at each entry relative to the base
// path and use the first one found
- auto it = std::find_if(
- _confCompatValues.begin(), _confCompatValues.end(),
- [&confFile, &appName, &fileName](const auto& value) {
- confFile = fs::path{confBasePath} / appName / value / fileName;
- return fs::exists(confFile);
+ auto it =
+ std::find_if(_confCompatValues.begin(), _confCompatValues.end(),
+ [&confFile, &appName, &fileName](const auto& value) {
+ confFile = fs::path{confBasePath} / appName / value / fileName;
+ return fs::exists(confFile);
});
if (it == _confCompatValues.end())
{