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: I657f0cb5283a0b4177332d94a88af660f3de8f11
Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
diff --git a/manager.cpp b/manager.cpp
index 2c4ee11..27e60eb 100644
--- a/manager.cpp
+++ b/manager.cpp
@@ -343,8 +343,8 @@
return;
}
- static const std::string remove =
- std::string(PIM_PERSIST_PATH) + INVENTORY_ROOT;
+ static const std::string remove = std::string(PIM_PERSIST_PATH) +
+ INVENTORY_ROOT;
std::map<sdbusplus::message::object_path, Object> objects;
for (const auto& dirent :
@@ -405,8 +405,8 @@
auto& getProperty =
std::get<GetPropertyValueType>(maker->second);
- condition.actualValue =
- getProperty(condition.property, ifaceIt->second);
+ condition.actualValue = getProperty(condition.property,
+ ifaceIt->second);
}
}
}
@@ -416,11 +416,11 @@
// associations file is valid so create its associations.
if (_associations.conditionMatch())
{
- std::for_each(
- _refs.begin(), _refs.end(), [this](const auto& ref) {
- _associations.createAssociations(
- ref.first, _status != ManagerStatus::RUNNING);
- });
+ std::for_each(_refs.begin(), _refs.end(),
+ [this](const auto& ref) {
+ _associations.createAssociations(
+ ref.first, _status != ManagerStatus::RUNNING);
+ });
}
}
#endif