treewide: Remove uses of bind
Bind is less compatible with function wrappers like function2 and more
terse to read.
Change-Id: I34474b71758db1ffee301729c585c4d555df2064
Signed-off-by: William A. Kennington III <wak@google.com>
diff --git a/hypervisor_state_manager.hpp b/hypervisor_state_manager.hpp
index 7b005f6..8fffbe0 100644
--- a/hypervisor_state_manager.hpp
+++ b/hypervisor_state_manager.hpp
@@ -49,8 +49,7 @@
sdbusRule::propertiesChanged(
"/xyz/openbmc_project/state/host0",
"xyz.openbmc_project.State.Boot.Progress"),
- std::bind(std::mem_fn(&Hypervisor::bootProgressChangeEvent), this,
- std::placeholders::_1))
+ [this](sdbusplus::message_t& m) { bootProgressChangeEvent(m); })
{}
/** @brief Set value of HostTransition */