Commit 589cac45 authored by Hunter Morris's avatar Hunter Morris

Fix minor style issue with nullptr assignment in large stream skip

parent 33ebc2a4
...@@ -127,7 +127,7 @@ void BufferedInputStreamWrapper::skip(size_t bytes) { ...@@ -127,7 +127,7 @@ void BufferedInputStreamWrapper::skip(size_t bytes) {
} else { } else {
// Forward large skip to the underlying stream. // Forward large skip to the underlying stream.
bufferAvailable = nullptr; bufferAvailable = nullptr;
inner.skip(bytes - bufferAvailable.size()); inner.skip(bytes);
} }
} }
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment