PerformScan: Rename emptyInterfaces to emptyObject as per its type
Signed-off-by: Andrew Jeffery <andrew@aj.id.au>
Change-Id: I334acc074556608da69da9e5db021fda08fe0d2f
diff --git a/src/PerformScan.cpp b/src/PerformScan.cpp
index 268e436..b525ab4 100644
--- a/src/PerformScan.cpp
+++ b/src/PerformScan.cpp
@@ -370,9 +370,9 @@
std::optional<std::string> replaceStr;
- DBusObject emptyInterfaces;
+ DBusObject emptyObject;
DBusInterface emptyInterface;
- emptyInterfaces.emplace(std::string{}, emptyInterface);
+ emptyObject.emplace(std::string{}, emptyInterface);
for (const auto& [foundDevice, path] : foundDevices)
{
@@ -382,7 +382,7 @@
// interface, such as if it was just TRUE, then
// templateCharReplace will just get passed in an empty
// map.
- const DBusObject* dbusObject = &emptyInterfaces;
+ const DBusObject* dbusObject = &emptyObject;
auto ifacesIt = allInterfaces.find(path);
if (ifacesIt != allInterfaces.end())