From 93fc176f6c42136d344f9feb7dcbcb48c0ab72ce Mon Sep 17 00:00:00 2001 From: "Matthias P. Braendli" Date: Mon, 8 Jul 2019 15:40:43 +0200 Subject: Update EDI input library --- src/SubchannelSource.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/SubchannelSource.cpp') diff --git a/src/SubchannelSource.cpp b/src/SubchannelSource.cpp index b4d6750..443b5d2 100644 --- a/src/SubchannelSource.cpp +++ b/src/SubchannelSource.cpp @@ -1046,9 +1046,9 @@ size_t SubchannelSource::protectionOption() const return 0; } -void SubchannelSource::loadSubchannelData(const Buffer& data) +void SubchannelSource::loadSubchannelData(Buffer&& data) { - d_buffer = data; + d_buffer = std::move(data); } int SubchannelSource::process(Buffer* outputData) -- cgit v1.2.3