Add missing capture
Commit 715fa65b1cb65e8fa10c4fa17034ef2aeca5b846 introduced a build error
from a missing lambda capture.
This captures "conn" to fix the build.
Signed-off-by: Jason M. Bills <jason.m.bills@linux.intel.com>
Change-Id: I6439d97489dfefa205b5da61d74434cb924b0c84
diff --git a/include/host_error_monitor.hpp b/include/host_error_monitor.hpp
index 5eaaf46..86f2e2d 100644
--- a/include/host_error_monitor.hpp
+++ b/include/host_error_monitor.hpp
@@ -119,7 +119,7 @@
}
conn->async_method_call(
- [](boost::system::error_code ec) {
+ [conn](boost::system::error_code ec) {
if (ec)
{
if (ec.value() == boost::system::errc::device_or_resource_busy)