diff options
Diffstat (limited to 'host/examples/test_clock_synch.cpp')
-rw-r--r-- | host/examples/test_clock_synch.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/host/examples/test_clock_synch.cpp b/host/examples/test_clock_synch.cpp index 8556063d7..2acccabdc 100644 --- a/host/examples/test_clock_synch.cpp +++ b/host/examples/test_clock_synch.cpp @@ -15,6 +15,7 @@ #include <boost/format.hpp> #include <boost/program_options.hpp> #include <chrono> +#include <functional> #include <iostream> #include <thread> @@ -118,7 +119,7 @@ int UHD_SAFE_MAIN(int argc, char* argv[]) boost::thread_group thread_group; clock_time = clock->get_time(); for (size_t j = 0; j < usrp->get_num_mboards(); j++) { - thread_group.create_thread(boost::bind(&get_usrp_time, usrp, j, &usrp_times)); + thread_group.create_thread(std::bind(&get_usrp_time, usrp, j, &usrp_times)); } // Wait for threads to complete thread_group.join_all(); |