From 2bc4e35410bef91d1c4b0135832828612f540d26 Mon Sep 17 00:00:00 2001 From: "Matthias P. Braendli" Date: Sat, 3 Feb 2018 18:12:30 +0100 Subject: Use std::future instead of boost::packaged_task in USRPTime --- src/output/USRPTime.h | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'src/output/USRPTime.h') diff --git a/src/output/USRPTime.h b/src/output/USRPTime.h index 7527f21..70e55ae 100644 --- a/src/output/USRPTime.h +++ b/src/output/USRPTime.h @@ -42,6 +42,7 @@ DESCRIPTION: #include #include #include +#include #include "Log.h" #include "output/SDR.h" @@ -96,9 +97,7 @@ class USRPTime { using timepoint_t = std::chrono::time_point; timepoint_t time_last_check; - boost::packaged_task gps_fix_pt; - boost::unique_future gps_fix_future; - boost::thread gps_fix_task; + std::future gps_fix_future; // Returns true if we want to check for the gps_timelock sensor bool gpsfix_needs_check(void) const; -- cgit v1.2.3