aboutsummaryrefslogtreecommitdiffstats
path: root/src/Flowgraph.cpp
diff options
context:
space:
mode:
authorMatthias P. Braendli <matthias.braendli@mpb.li>2018-01-07 11:51:03 +0100
committerMatthias P. Braendli <matthias.braendli@mpb.li>2018-01-07 11:51:03 +0100
commit28d794ab7d47e4f2585ac73f8a69c9c68962b678 (patch)
treee0d7dd92acf20ec5b20ec17c79310412528b66a2 /src/Flowgraph.cpp
parent7ddaefab49e31a3ff360225b929633e7be161947 (diff)
downloaddabmod-28d794ab7d47e4f2585ac73f8a69c9c68962b678.tar.gz
dabmod-28d794ab7d47e4f2585ac73f8a69c9c68962b678.tar.bz2
dabmod-28d794ab7d47e4f2585ac73f8a69c9c68962b678.zip
Make frame_timestamp movable
Diffstat (limited to 'src/Flowgraph.cpp')
-rw-r--r--src/Flowgraph.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/Flowgraph.cpp b/src/Flowgraph.cpp
index e12ff1e..ae86417 100644
--- a/src/Flowgraph.cpp
+++ b/src/Flowgraph.cpp
@@ -151,8 +151,9 @@ int Node::process()
meta_vec_t all_input_mds;
for (auto& md_vec_sp : myInputMetadata) {
if (md_vec_sp) {
- copy(md_vec_sp->begin(), md_vec_sp->end(),
+ move(md_vec_sp->begin(), md_vec_sp->end(),
back_inserter(all_input_mds));
+ md_vec_sp->clear();
}
}