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: I172b14c1a881c734851b7dc6e0e90ee2e11cce03
Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
diff --git a/src/system.cpp b/src/system.cpp
index 1ebaf2c..3e4b69c 100644
--- a/src/system.cpp
+++ b/src/system.cpp
@@ -73,10 +73,10 @@
const std::string& objectPath,
const std::string& interface)
{
- auto method =
- bus.new_method_call("xyz.openbmc_project.ObjectMapper",
- "/xyz/openbmc_project/object_mapper",
- "xyz.openbmc_project.ObjectMapper", "GetObject");
+ auto method = bus.new_method_call("xyz.openbmc_project.ObjectMapper",
+ "/xyz/openbmc_project/object_mapper",
+ "xyz.openbmc_project.ObjectMapper",
+ "GetObject");
method.append(objectPath);
method.append(std::vector<std::string>({interface}));
@@ -129,8 +129,8 @@
{
auto biosInfo = reinterpret_cast<struct BIOSInfo*>(dataIn);
uint8_t biosVerByte = biosInfo->biosVersion;
- std::string tempS =
- positionToString(biosInfo->biosVersion, biosInfo->length, dataIn);
+ std::string tempS = positionToString(biosInfo->biosVersion,
+ biosInfo->length, dataIn);
if (std::find_if(tempS.begin(), tempS.end(),
[](char ch) { return !isprint(ch); }) != tempS.end())
{