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: I39f8c77091744c8516e043054b4ed7207d85aa08
Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
diff --git a/powercap.cpp b/powercap.cpp
index 6a9c67f..edfae9c 100644
--- a/powercap.cpp
+++ b/powercap.cpp
@@ -464,8 +464,8 @@
try
{
- prop =
- utils::getProperty(PCAP_PATH, PCAP_INTERFACE, POWER_CAP_SOFT_MIN);
+ prop = utils::getProperty(PCAP_PATH, PCAP_INTERFACE,
+ POWER_CAP_SOFT_MIN);
softMin = std::get<uint32_t>(prop);
}
catch (const sdbusplus::exception_t& e)
@@ -480,8 +480,8 @@
try
{
- prop =
- utils::getProperty(PCAP_PATH, PCAP_INTERFACE, POWER_CAP_HARD_MIN);
+ prop = utils::getProperty(PCAP_PATH, PCAP_INTERFACE,
+ POWER_CAP_HARD_MIN);
hardMin = std::get<uint32_t>(prop);
}
catch (const sdbusplus::exception_t& e)