Unverified Commit 7e99ad85 authored by Dominik Charousset's avatar Dominik Charousset Committed by GitHub

Merge pull request #72

Fix buffer caching
parents 61549251 0a2bc073
......@@ -209,7 +209,7 @@ public:
private:
// -- utility functions ------------------------------------------------------
static byte_buffer next_buffer_impl(buffer_cache_type cache) {
static byte_buffer next_buffer_impl(buffer_cache_type& cache) {
if (cache.empty())
return {};
auto buf = std::move(cache.back());
......
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