From 0303f1ed558b21e40f80c388b096432b4bf6e883 Mon Sep 17 00:00:00 2001 From: Martin Braun Date: Thu, 26 Apr 2018 09:30:48 -0700 Subject: lib: Purge all references to boost::this_thread::sleep() Replace with std::this_thread::sleep_for(). --- host/examples/rx_ascii_art_dft.cpp | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'host/examples/rx_ascii_art_dft.cpp') diff --git a/host/examples/rx_ascii_art_dft.cpp b/host/examples/rx_ascii_art_dft.cpp index 72b37d720..26c84f52b 100644 --- a/host/examples/rx_ascii_art_dft.cpp +++ b/host/examples/rx_ascii_art_dft.cpp @@ -10,12 +10,13 @@ #include #include "ascii_art_dft.hpp" //implementation #include -#include //gets time #include #include #include #include #include +#include +#include namespace po = boost::program_options; @@ -108,7 +109,7 @@ int UHD_SAFE_MAIN(int argc, char *argv[]){ //set the antenna if (vm.count("ant")) usrp->set_rx_antenna(ant); - boost::this_thread::sleep(boost::posix_time::seconds(1)); //allow for some setup time + std::this_thread::sleep_for(std::chrono::seconds(1)); //allow for some setup time //Check Ref and LO Lock detect std::vector sensor_names; -- cgit v1.2.3