aboutsummaryrefslogtreecommitdiffstats
path: root/src/ModPlugin.h
diff options
context:
space:
mode:
authorMatthias P. Braendli <matthias.braendli@mpb.li>2018-03-06 22:53:36 +0100
committerMatthias P. Braendli <matthias.braendli@mpb.li>2018-03-06 22:53:36 +0100
commit56dfbcd73529ee6dc42a17a139c9ceaccf1def3d (patch)
tree47580fcfa894fca04805f670ec6acf30a08a6f5d /src/ModPlugin.h
parent5bea9241b246cfc4b9abef3d265a96d52a377c37 (diff)
downloaddabmod-56dfbcd73529ee6dc42a17a139c9ceaccf1def3d.tar.gz
dabmod-56dfbcd73529ee6dc42a17a139c9ceaccf1def3d.tar.bz2
dabmod-56dfbcd73529ee6dc42a17a139c9ceaccf1def3d.zip
Avoid copies in ThreadsafeQueue and Buffer
Diffstat (limited to 'src/ModPlugin.h')
-rw-r--r--src/ModPlugin.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/ModPlugin.h b/src/ModPlugin.h
index e9cfa21..7f03618 100644
--- a/src/ModPlugin.h
+++ b/src/ModPlugin.h
@@ -2,7 +2,7 @@
Copyright (C) 2005, 2006, 2007, 2008, 2009, 2010, 2011 Her Majesty
the Queen in Right of Canada (Communications Research Center Canada)
- Copyright (C) 2017
+ Copyright (C) 2018
Matthias P. Braendli, matthias.braendli@mpb.li
http://opendigitalradio.org
@@ -114,8 +114,8 @@ protected:
private:
bool m_ready_to_output_data = false;
- ThreadsafeQueue<std::shared_ptr<Buffer> > m_input_queue;
- ThreadsafeQueue<std::shared_ptr<Buffer> > m_output_queue;
+ ThreadsafeQueue<Buffer> m_input_queue;
+ ThreadsafeQueue<Buffer> m_output_queue;
std::deque<meta_vec_t> m_metadata_fifo;