From: Francis Dupont Date: Thu, 25 Oct 2018 11:58:37 +0000 (+0200) Subject: [153-netconf-agent] Fixed closure X-Git-Tag: 176-update-to-sysrepo-0-7-6-release_base~10 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=eff4bbda69de48203dec7a6db941ecd5b734e481;p=thirdparty%2Fkea.git [153-netconf-agent] Fixed closure --- 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.