diff options
author | Matthew Barth <msbarth@us.ibm.com> | 2018-04-12 09:40:54 -0500 |
---|---|---|
committer | Matthew Barth <msbarth@us.ibm.com> | 2018-04-12 09:40:54 -0500 |
commit | 30abbef89b0c39d88c8f7704bcfffceac7963fd2 (patch) | |
tree | ed0b77c6bedbec46ca70e94cbf36b6667be2bf1d | |
parent | e7d87053021411f908944555d8a1735c21c61b95 (diff) | |
download | phosphor-fan-presence-30abbef89b0c39d88c8f7704bcfffceac7963fd2.tar.gz phosphor-fan-presence-30abbef89b0c39d88c8f7704bcfffceac7963fd2.zip |
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>
-rw-r--r-- | control/handlers.hpp | 2 | ||||
-rw-r--r-- | 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)) |