From d17c32c28ca3a3810fde93889bfbdc5133ab1bf3 Mon Sep 17 00:00:00 2001 From: "Matthias P. Braendli" Date: Sat, 30 May 2015 17:33:13 +0200 Subject: Use shared_ptr in FIRFilter --- src/FIRFilter.h | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'src/FIRFilter.h') diff --git a/src/FIRFilter.h b/src/FIRFilter.h index 0ecae3e..05627d4 100644 --- a/src/FIRFilter.h +++ b/src/FIRFilter.h @@ -30,6 +30,7 @@ #endif #include +#include #include "ThreadsafeQueue.h" #include "RemoteControl.h" @@ -52,8 +53,8 @@ struct FIRFilterWorkerData { /* Thread-safe queues to give data to and get data from * the worker */ - ThreadsafeQueue input_queue; - ThreadsafeQueue output_queue; + ThreadsafeQueue > input_queue; + ThreadsafeQueue > output_queue; /* Remote-control can change the taps while the filter * runs. This lock makes sure nothing bad happens when @@ -127,5 +128,5 @@ protected: struct FIRFilterWorkerData firwd; }; - #endif //FIRFILTER_H + -- cgit v1.2.3