diff options
Diffstat (limited to 'host/examples/txrx_loopback_to_file.cpp')
-rw-r--r-- | host/examples/txrx_loopback_to_file.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/host/examples/txrx_loopback_to_file.cpp b/host/examples/txrx_loopback_to_file.cpp index 6199ca429..4c059577c 100644 --- a/host/examples/txrx_loopback_to_file.cpp +++ b/host/examples/txrx_loopback_to_file.cpp @@ -20,6 +20,7 @@ #include <boost/thread/thread.hpp> #include <csignal> #include <fstream> +#include <functional> #include <iostream> namespace po = boost::program_options; @@ -526,7 +527,7 @@ int UHD_SAFE_MAIN(int argc, char* argv[]) // start transmit worker thread boost::thread_group transmit_thread; - transmit_thread.create_thread(boost::bind( + transmit_thread.create_thread(std::bind( &transmit_worker, buff, wave_table, tx_stream, md, step, index, num_channels)); // recv to file |