summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--control/handlers.hpp2
-rw-r--r--control/zone.hpp4
2 files changed, 3 insertions, 3 deletions
diff --git a/control/handlers.hpp b/control/handlers.hpp
index ef5d5d8..6661e1a 100644
--- a/control/handlers.hpp
+++ b/control/handlers.hpp
@@ -64,7 +64,7 @@ auto removeInterface(const char* path, const char* interface)
{
return[=](auto& zone)
{
- zone.removeObjIntf(path, interface);
+ zone.removeObjectInterface(path, interface);
};
}
diff --git a/control/zone.hpp b/control/zone.hpp
index 481f12c..cd7e5d6 100644
--- a/control/zone.hpp
+++ b/control/zone.hpp
@@ -156,8 +156,8 @@ class Zone
* @param[in] object - Name of the object with the interface
* @param[in] interface - Interface name to remove
*/
- inline void removeObjIntf(const char* object,
- const char* interface)
+ inline void removeObjectInterface(const char* object,
+ const char* interface)
{
auto it = _properties.find(object);
if (it != std::end(_properties))
OpenPOWER on IntegriCloud