Incorrect function declaration for getManagedObjects
The implementation was correct but the declaration had the out parameter
as the second parameter instead of the last.
Change-Id: Ib0f1c23ad6617d637c17d9175bb7a93f8f481e0d
Signed-off-by: Vernon Mauery <vernon.mauery@linux.intel.com>
diff --git a/include/ipmid/utils.hpp b/include/ipmid/utils.hpp
index cb71835..cd72ec0 100644
--- a/include/ipmid/utils.hpp
+++ b/include/ipmid/utils.hpp
@@ -351,15 +351,15 @@
/** @brief Gets all managed objects associated with the given object
* path and service.
* @param[in] ctx - ipmi::Context::ptr
- * @param[out] objects - map of name value pair.
* @param[in] service - D-Bus service name.
* @param[in] objPath - D-Bus object path.
+ * @param[out] objects - map of name value pair.
* @return - boost error code object
*/
boost::system::error_code getManagedObjects(Context::ptr ctx,
- ObjectValueTree& objects,
const std::string& service,
- const std::string& objPath);
+ const std::string& objPath,
+ ObjectValueTree& objects);
/** @brief Gets the ancestor objects of the given object
which implements the given interface.