From 542e3081ad6504162a8e2bae95187af55538daba Mon Sep 17 00:00:00 2001 From: Hayodea Hekol Date: Mon, 29 Sep 2025 01:59:52 -0400 Subject: [PATCH] DevReattacher: Use aggregate init for Callback<> --- smocore/deviceManager/deviceReattacher.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/smocore/deviceManager/deviceReattacher.cpp b/smocore/deviceManager/deviceReattacher.cpp index bf46e2a..bae5a9f 100644 --- a/smocore/deviceManager/deviceReattacher.cpp +++ b/smocore/deviceManager/deviceReattacher.cpp @@ -72,8 +72,7 @@ void DeviceReattacher::onTimeout(const boost::system::error_code& error) // Attempt to reattach all unattached devices from the known list parent.attachAllUnattachedDevicesFromKnownListReq( - Callback( - nullptr, reattachmentCb)); + { nullptr, reattachmentCb}); // Schedule the next timeout scheduleNextTimeout();