summaryrefslogtreecommitdiffstats
path: root/src/OutputUHD.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/OutputUHD.cpp')
-rw-r--r--src/OutputUHD.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/OutputUHD.cpp b/src/OutputUHD.cpp
index adc7b9a..e71a625 100644
--- a/src/OutputUHD.cpp
+++ b/src/OutputUHD.cpp
@@ -46,7 +46,6 @@
#include <errno.h>
#include <unistd.h>
-using namespace boost;
using namespace std;
typedef std::complex<float> complexf;
@@ -226,7 +225,7 @@ OutputUHD::OutputUHD(
SetDelayBuffer(myConf.dabMode);
- shared_ptr<barrier> b(new barrier(2));
+ auto b = std::make_shared<boost::barrier>(2);
mySyncBarrier = b;
uwd.sync_barrier = b;