clang-format: copy latest and re-format
clang-format-17 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: Ib8dfa202f1d59add43fc0d55ab2bf388c8e7c877
Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
diff --git a/softoff/softoff.cpp b/softoff/softoff.cpp
index 3135b3d..469c325 100644
--- a/softoff/softoff.cpp
+++ b/softoff/softoff.cpp
@@ -319,8 +319,8 @@
}
// Add a timer to the event loop, default 30s.
- auto timerCallback =
- [=, this](Timer& /*source*/, Timer::TimePoint /*time*/) mutable {
+ auto timerCallback = [=, this](Timer& /*source*/,
+ Timer::TimePoint /*time*/) mutable {
if (!responseReceived)
{
instanceIdDb.free(pldmTID, instanceID);
@@ -334,8 +334,8 @@
std::chrono::seconds{1}, std::move(timerCallback));
// Add a callback to handle EPOLLIN on fd
- auto callback =
- [=, &pldmTransport, this](IO& io, int fd, uint32_t revents) mutable {
+ auto callback = [=, &pldmTransport, this](IO& io, int fd,
+ uint32_t revents) mutable {
if (fd != pldmTransport.getEventSource())
{
return;