aboutsummaryrefslogtreecommitdiffstats
path: root/src/output/USRPTime.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/output/USRPTime.h')
-rw-r--r--src/output/USRPTime.h5
1 files changed, 2 insertions, 3 deletions
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 <memory>
#include <string>
#include <atomic>
+#include <future>
#include "Log.h"
#include "output/SDR.h"
@@ -96,9 +97,7 @@ class USRPTime {
using timepoint_t = std::chrono::time_point<std::chrono::steady_clock>;
timepoint_t time_last_check;
- boost::packaged_task<bool> gps_fix_pt;
- boost::unique_future<bool> gps_fix_future;
- boost::thread gps_fix_task;
+ std::future<bool> gps_fix_future;
// Returns true if we want to check for the gps_timelock sensor
bool gpsfix_needs_check(void) const;