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: I7801712fe34e10fec586d1e962afebd9ebcce46c
Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
diff --git a/src/callback.hpp b/src/callback.hpp
index 2ee8282..49d16a2 100644
--- a/src/callback.hpp
+++ b/src/callback.hpp
@@ -235,13 +235,13 @@
{
if (!timer)
{
- timer = std::make_unique<TimerType>(
- sdeventplus::Event::get_default(),
- // **INDENT-OFF**
- [this](auto& /* source */) {
- // The timer uses the context saved on timer enable
- this->ConditionalCallback<CallbackAccess>::operator()(
- this->ctx);
+ timer =
+ std::make_unique<TimerType>(sdeventplus::Event::get_default(),
+ // **INDENT-OFF**
+ [this](auto& /* source */) {
+ // The timer uses the context saved on timer enable
+ this->ConditionalCallback<CallbackAccess>::operator()(
+ this->ctx);
});
// **INDENT-ON**
}