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/include/EntityManager.hpp b/include/EntityManager.hpp
index f443874..2d79e1f 100644
--- a/include/EntityManager.hpp
+++ b/include/EntityManager.hpp
@@ -72,8 +72,7 @@
std::function<void()>&& callback);
void updateSystemConfiguration(const nlohmann::json& recordRef,
const std::string& probeName,
- FoundDevices& foundDevices,
- const MapperGetSubTreeResponse& dbusSubtree);
+ FoundDevices& foundDevices);
void run(void);
virtual ~PerformScan();
nlohmann::json& _systemConfiguration;