summaryrefslogtreecommitdiffstats
path: root/src/TimeInterleaver.cpp
diff options
context:
space:
mode:
authorMatthias P. Braendli <matthias.braendli@mpb.li>2019-03-04 10:23:56 +0100
committerMatthias P. Braendli <matthias.braendli@mpb.li>2019-03-04 10:23:56 +0100
commit8d80d831227cc0d74a90c210e40e17bd6394f4d2 (patch)
treeebe464ff4075ef1f4bd0ada372f796902cd57bc1 /src/TimeInterleaver.cpp
parentc3dbbec39aef32789aacb872c88801f0c5d15ef7 (diff)
downloaddabmod-8d80d831227cc0d74a90c210e40e17bd6394f4d2.tar.gz
dabmod-8d80d831227cc0d74a90c210e40e17bd6394f4d2.tar.bz2
dabmod-8d80d831227cc0d74a90c210e40e17bd6394f4d2.zip
Implement small TimeInterleaver performance improvement
Diffstat (limited to 'src/TimeInterleaver.cpp')
-rw-r--r--src/TimeInterleaver.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/TimeInterleaver.cpp b/src/TimeInterleaver.cpp
index 7e19af8..1afdefd 100644
--- a/src/TimeInterleaver.cpp
+++ b/src/TimeInterleaver.cpp
@@ -64,7 +64,7 @@ int TimeInterleaver::process(Buffer* const dataIn, Buffer* dataOut)
unsigned char* out = reinterpret_cast<unsigned char*>(dataOut->getData());
for (size_t i = 0; i < dataOut->getLength();) {
- d_history.push_front(d_history.back());
+ d_history.push_front(move(d_history.back()));
d_history.pop_back();
for (uint_fast16_t j = 0; j < d_framesize;) {
d_history[0][j] = in[i];