From d8fbd3596b40dbac0a485da45a51493f977b7beb Mon Sep 17 00:00:00 2001 From: Daniel Wolf Date: Wed, 13 Apr 2016 10:15:44 +0200 Subject: [PATCH] Fixed UnboundedStream constructor --- src/audio/UnboundedStream.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/audio/UnboundedStream.cpp b/src/audio/UnboundedStream.cpp index b01c197..cd38ea8 100644 --- a/src/audio/UnboundedStream.cpp +++ b/src/audio/UnboundedStream.cpp @@ -3,7 +3,7 @@ using boost::optional; UnboundedStream::UnboundedStream(std::unique_ptr inputStream) : - innerStream(std::move(innerStream)), + innerStream(std::move(inputStream)), sampleIndex(innerStream->getSampleIndex()), firstSample(inputStream->getSampleCount() ? optional() : 0.0f), lastSample(inputStream->getSampleCount() ? optional() : 0.0f)