DevReattacher: Use aggregate init for Callback<>

This commit is contained in:
2025-09-29 01:59:52 -04:00
parent 65b9460a3a
commit 542e3081ad
+1 -2
View File
@@ -72,8 +72,7 @@ void DeviceReattacher::onTimeout(const boost::system::error_code& error)
// Attempt to reattach all unattached devices from the known list // Attempt to reattach all unattached devices from the known list
parent.attachAllUnattachedDevicesFromKnownListReq( parent.attachAllUnattachedDevicesFromKnownListReq(
Callback<DeviceManager::attachAllUnattachedDevicesFromReqCbFn>( { nullptr, reattachmentCb});
nullptr, reattachmentCb));
// Schedule the next timeout // Schedule the next timeout
scheduleNextTimeout(); scheduleNextTimeout();