From 6a544d286954b425a4a45d51c554b4b68385bc2f Mon Sep 17 00:00:00 2001 From: f4exb Date: Thu, 17 Oct 2019 18:41:38 +0200 Subject: [PATCH] SampleMOFifo: removed constness on get data methods --- sdrbase/dsp/samplemofifo.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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()