diff --git a/sdrbase/dsp/samplemofifo.h b/sdrbase/dsp/samplemofifo.h index 72c037619..01988485c 100644 --- a/sdrbase/dsp/samplemofifo.h +++ b/sdrbase/dsp/samplemofifo.h @@ -48,8 +48,8 @@ public: ); void writeAsync(const SampleVector::const_iterator& begin, unsigned int amount, unsigned int stream); - const std::vector& getData() { return m_data; } - const SampleVector& getData(unsigned int stream) { return m_data[stream]; } + std::vector& getData() { return m_data; } + SampleVector& getData(unsigned int stream) { return m_data[stream]; } unsigned int getNbStreams() const { return m_data.size(); } unsigned int remainderSync()