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: I0d10afa582342818b9d90b168f6f39f71ce4e0f4
Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
[AJ: regenerate using .clang-format from openbmc/docs@f44abd66eca8]
Signed-off-by: Andrew Jeffery <andrew@aj.id.au>
diff --git a/src/HwmonTempSensor.cpp b/src/HwmonTempSensor.cpp
index 180c0c8..bd442f8 100644
--- a/src/HwmonTempSensor.cpp
+++ b/src/HwmonTempSensor.cpp
@@ -172,8 +172,8 @@
{
const char* bufEnd = readBuf.data() + bytesRead;
int nvalue = 0;
- std::from_chars_result ret =
- std::from_chars(readBuf.data(), bufEnd, nvalue);
+ std::from_chars_result ret = std::from_chars(readBuf.data(), bufEnd,
+ nvalue);
if (ret.ec != std::errc())
{
incrementError();