summaryrefslogtreecommitdiffstats
path: root/src/bin/netconf/netconf_process.cc
diff options
context:
space:
mode:
authorFrancis Dupont <fdupont@isc.org>2018-10-25 13:58:37 +0200
committerFrancis Dupont <fdupont@isc.org>2018-10-30 12:50:38 +0100
commiteff4bbda69de48203dec7a6db941ecd5b734e481 (patch)
treeae52ac5948d94426f5cf053f79d100e1833edb65 /src/bin/netconf/netconf_process.cc
parent[153-netconf-agent] Make netconf more robust (diff)
downloadkea-eff4bbda69de48203dec7a6db941ecd5b734e481.tar.xz
kea-eff4bbda69de48203dec7a6db941ecd5b734e481.zip
[153-netconf-agent] Fixed closure
Diffstat (limited to 'src/bin/netconf/netconf_process.cc')
-rw-r--r--src/bin/netconf/netconf_process.cc2
1 files changed, 1 insertions, 1 deletions
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.