24 lines
991 B
Diff
24 lines
991 B
Diff
--- a/SoapyUHDDevice.cpp 2020-11-28 06:35:26.325250052 +0700
|
|
+++ b/SoapyUHDDevice.cpp 2020-11-28 06:35:57.557546069 +0700
|
|
@@ -20,6 +20,7 @@
|
|
#include <uhd/property_tree.hpp>
|
|
#include <cctype>
|
|
#include <iostream>
|
|
+#include <boost/foreach.hpp>
|
|
|
|
/***********************************************************************
|
|
* Stream wrapper
|
|
--- a/UHDSoapyDevice.cpp 2020-11-28 06:37:27.567376170 +0700
|
|
+++ b/UHDSoapyDevice.cpp 2020-11-28 06:43:28.476925258 +0700
|
|
@@ -179,8 +179,8 @@
|
|
std::map<int, std::map<size_t, double>> _sampleRates;
|
|
|
|
//stash streamers to implement old-style issue stream cmd and async message
|
|
- std::map<size_t, boost::weak_ptr<uhd::rx_streamer> > _rx_streamers;
|
|
- std::map<size_t, boost::weak_ptr<uhd::tx_streamer> > _tx_streamers;
|
|
+ std::map<size_t, std::weak_ptr<uhd::rx_streamer> > _rx_streamers;
|
|
+ std::map<size_t, std::weak_ptr<uhd::tx_streamer> > _tx_streamers;
|
|
};
|
|
|
|
/***********************************************************************
|