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/scheduled_host_transition.hpp b/scheduled_host_transition.hpp
index 352fc8c..19736e6 100644
--- a/scheduled_host_transition.hpp
+++ b/scheduled_host_transition.hpp
@@ -34,7 +34,7 @@
ScheduledHostTransitionInherit(
bus, objPath, ScheduledHostTransition::action::defer_emit),
bus(bus), id(id), event(event),
- timer(event, std::bind(&ScheduledHostTransition::callback, this))
+ timer(event, [this](auto&) { callback(); })
{
initialize();