From 30abbef89b0c39d88c8f7704bcfffceac7963fd2 Mon Sep 17 00:00:00 2001 From: Matthew Barth Date: Thu, 12 Apr 2018 09:40:54 -0500 Subject: 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 --- control/handlers.hpp | 2 +- control/zone.hpp | 4 ++-- 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)) -- cgit v1.2.1