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: I2612058799afbcd10f98bd32d2e191b0be7e437b
Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
diff --git a/scheduled_host_transition.hpp b/scheduled_host_transition.hpp
index 19736e6..a272217 100644
--- a/scheduled_host_transition.hpp
+++ b/scheduled_host_transition.hpp
@@ -106,11 +106,11 @@
/** @brief The deleter of sd_event_source */
std::function<void(sd_event_source*)> sdEventSourceDeleter =
[](sd_event_source* p) {
- if (p)
- {
- sd_event_source_unref(p);
- }
- };
+ if (p)
+ {
+ sd_event_source_unref(p);
+ }
+ };
using SdEventSource =
std::unique_ptr<sd_event_source, decltype(sdEventSourceDeleter)>;