Rename remove object interface function
Update the removeObjIntf function name to removeObjectInterface. This
was requested per a review comment.
Tested: N/A
Change-Id: I52589724685bb5b8d92d3da22072b63b43f69a01
Signed-off-by: Matthew Barth <msbarth@us.ibm.com>
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 @@
{
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 @@
* @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))