Commit 8584e3a4 authored by Dominik Charousset's avatar Dominik Charousset Committed by GitHub

Merge pull request #72

Fix buffer caching
parents e7957490 11035f42
...@@ -209,7 +209,7 @@ public: ...@@ -209,7 +209,7 @@ public:
private: private:
// -- utility functions ------------------------------------------------------ // -- 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()) if (cache.empty())
return {}; return {};
auto buf = std::move(cache.back()); 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