diff options
author | Matthias P. Braendli <matthias.braendli@mpb.li> | 2015-08-01 17:18:24 +0200 |
---|---|---|
committer | Matthias P. Braendli <matthias.braendli@mpb.li> | 2015-08-01 17:18:24 +0200 |
commit | 31edd6a85f52c855d54594dc9f8ceda694d3ebea (patch) | |
tree | 60ad2c84d28a495082e0b083e072a934bc142634 /src/FIRFilter.h | |
parent | 1c25545bb03ea074b5871be3234bf0d1be20a6a3 (diff) | |
download | dabmod-31edd6a85f52c855d54594dc9f8ceda694d3ebea.tar.gz dabmod-31edd6a85f52c855d54594dc9f8ceda694d3ebea.tar.bz2 dabmod-31edd6a85f52c855d54594dc9f8ceda694d3ebea.zip |
Switch to C++11, remove boost::shared_ptr
Diffstat (limited to 'src/FIRFilter.h')
-rw-r--r-- | src/FIRFilter.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/FIRFilter.h b/src/FIRFilter.h index 751be91..28b2f4a 100644 --- a/src/FIRFilter.h +++ b/src/FIRFilter.h @@ -30,7 +30,6 @@ #endif #include <boost/thread.hpp> -#include <boost/shared_ptr.hpp> #include "RemoteControl.h" #include "ModCodec.h" @@ -43,6 +42,7 @@ #include <time.h> #include <cstdio> #include <string> +#include <memory> #define FIRFILTER_PIPELINE_DELAY 1 @@ -52,8 +52,8 @@ struct FIRFilterWorkerData { /* Thread-safe queues to give data to and get data from * the worker */ - ThreadsafeQueue<boost::shared_ptr<Buffer> > input_queue; - ThreadsafeQueue<boost::shared_ptr<Buffer> > output_queue; + ThreadsafeQueue<std::shared_ptr<Buffer> > input_queue; + ThreadsafeQueue<std::shared_ptr<Buffer> > output_queue; /* Remote-control can change the taps while the filter * runs. This lock makes sure nothing bad happens when |