PerformScan: Drop dbusSubtree parameter from updateSystemConfiguration()
PerformProbe was reaching into the PerformScan instance to pass
updateSystemConfiguration() PerformScan's own dbusProbeObjects. We can
just use the implicit `this` to access it inside
updateSystemConfiguration().
Signed-off-by: Andrew Jeffery <andrew@aj.id.au>
Change-Id: I27124c01358e227c78c7054070ba1fc8384ac4ac
diff --git a/src/PerformProbe.cpp b/src/PerformProbe.cpp
index 7c5a2b2..af9373c 100644
--- a/src/PerformProbe.cpp
+++ b/src/PerformProbe.cpp
@@ -231,7 +231,6 @@
FoundDevices foundDevs;
if (probe(_probeCommand, scan, foundDevs))
{
- scan->updateSystemConfiguration(recordRef, probeName, foundDevs,
- scan->dbusProbeObjects);
+ scan->updateSystemConfiguration(recordRef, probeName, foundDevs);
}
}