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)