From eff4bbda69de48203dec7a6db941ecd5b734e481 Mon Sep 17 00:00:00 2001 From: Francis Dupont Date: Thu, 25 Oct 2018 13:58:37 +0200 Subject: [PATCH] [153-netconf-agent] Fixed closure --- src/bin/netconf/netconf_process.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/bin/netconf/netconf_process.cc b/src/bin/netconf/netconf_process.cc index aa2e53c0fc..c242f2ded6 100644 --- a/src/bin/netconf/netconf_process.cc +++ b/src/bin/netconf/netconf_process.cc @@ -58,7 +58,7 @@ NetconfProcess::run() { } // Initialize the agent in a thread. - Thread th([cfg_mgr]() { agent_.init(cfg_mgr); }); + Thread th([this, cfg_mgr]() { agent_.init(cfg_mgr); }); // Let's process incoming data or expiring timers in a loop until // shutdown condition is detected. -- 2.47.2