diff options
Diffstat (limited to 'gnuradio-runtime/include/gnuradio/thrift_application_base.h')
-rw-r--r-- | gnuradio-runtime/include/gnuradio/thrift_application_base.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gnuradio-runtime/include/gnuradio/thrift_application_base.h b/gnuradio-runtime/include/gnuradio/thrift_application_base.h index 370e50eabf..1d52e3901a 100644 --- a/gnuradio-runtime/include/gnuradio/thrift_application_base.h +++ b/gnuradio-runtime/include/gnuradio/thrift_application_base.h @@ -202,8 +202,8 @@ void thrift_application_base<TserverBase, TserverClass>::start_application() "thrift", "init_attempts", d_default_max_init_attempts)); if (!p_impl->d_application_initialized) { - p_impl->d_start_thrift_thread.reset((new gr::thread::thread( - boost::bind(&thrift_application_base::start_thrift, d_application)))); + p_impl->d_start_thrift_thread.reset( + (new gr::thread::thread([app = d_application] { app->start_thrift(); }))); bool app_started(false); for (unsigned int attempts(0); (!app_started && attempts < max_init_attempts); |