aboutsummaryrefslogtreecommitdiffstats
path: root/host/lib/usrp/gpsd_iface.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'host/lib/usrp/gpsd_iface.cpp')
-rw-r--r--host/lib/usrp/gpsd_iface.cpp13
1 files changed, 8 insertions, 5 deletions
diff --git a/host/lib/usrp/gpsd_iface.cpp b/host/lib/usrp/gpsd_iface.cpp
index 49880c8f7..6b47b6be5 100644
--- a/host/lib/usrp/gpsd_iface.cpp
+++ b/host/lib/usrp/gpsd_iface.cpp
@@ -6,12 +6,11 @@
//
#include <cmath>
+#include <stdint.h>
#include <gps.h>
-#include <boost/assign/list_of.hpp>
#include <boost/bind.hpp>
-#include <stdint.h>
#include "boost/date_time/gregorian/gregorian.hpp"
#include <boost/format.hpp>
#include <boost/thread/shared_mutex.hpp>
@@ -53,9 +52,13 @@ public:
boost::thread t(boost::bind(&gpsd_iface_impl::_thread_fcn ,this));
_bthread.swap(t);
-
- _sensors = boost::assign::list_of<std::string>("gps_locked")("gps_time") \
- ("gps_position")("gps_gpgga")("gps_gprmc").to_container(_sensors);
+ _sensors = {
+ "gps_locked",
+ "gps_time",
+ "gps_position",
+ "gps_gpgga",
+ "gps_gprmc"
+ };
}
virtual ~gpsd_iface_impl(void)