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: I4530f5b9df4f5898e26a2eef7efcf82e9728197f
Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
diff --git a/static/activation_static.cpp b/static/activation_static.cpp
index 9b451cf..d4f8329 100644
--- a/static/activation_static.cpp
+++ b/static/activation_static.cpp
@@ -16,7 +16,6 @@
auto ActivationStatic::activation(Activations value) -> Activations
{
-
auto ret = value;
if (value != softwareServer::Activation::Activations::Active)
{
@@ -99,8 +98,8 @@
std::replace(pnorFileEscaped.begin(), pnorFileEscaped.end(), '/', '-');
constexpr auto updatePNORService = "openpower-pnor-update@";
- pnorUpdateUnit =
- std::string(updatePNORService) + pnorFileEscaped + ".service";
+ pnorUpdateUnit = std::string(updatePNORService) + pnorFileEscaped +
+ ".service";
auto method = bus.new_method_call(SYSTEMD_BUSNAME, SYSTEMD_PATH,
SYSTEMD_INTERFACE, "StartUnit");
method.append(pnorUpdateUnit, "replace");
@@ -140,8 +139,8 @@
// Set Redundancy Priority before setting to Active
if (!redundancyPriority)
{
- redundancyPriority =
- std::make_unique<RedundancyPriority>(bus, path, *this, 0);
+ redundancyPriority = std::make_unique<RedundancyPriority>(bus, path,
+ *this, 0);
}
activationProgress->progress(100);