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: If4790d4928efc3e6690ca090aa79f0c7737c3683
Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
diff --git a/elog_watch.cpp b/elog_watch.cpp
index 17fd87a..e55211f 100644
--- a/elog_watch.cpp
+++ b/elog_watch.cpp
@@ -47,7 +47,6 @@
std::bind(std::mem_fn(&Watch::delCallback), this,
std::placeholders::_1))
{
-
std::filesystem::path file(ELOG_ID_PERSIST_PATH);
if (std::filesystem::exists(file))
{
@@ -142,10 +141,11 @@
phosphor::dump::elog::serialize(elogList);
- auto item = std::find_if(
- phosphor::dump::bmc::TypeMap.begin(),
- phosphor::dump::bmc::TypeMap.end(),
- [errorType](const auto& err) { return (err.second == errorType); });
+ auto item = std::find_if(phosphor::dump::bmc::TypeMap.begin(),
+ phosphor::dump::bmc::TypeMap.end(),
+ [errorType](const auto& err) {
+ return (err.second == errorType);
+ });
if (item != phosphor::dump::bmc::TypeMap.end())
{
iMgr.IMgr::create((*item).first, fullPaths);