From da9bb07d1285682d834bea0d1dcdc74f94d10a78 Mon Sep 17 00:00:00 2001 From: Vinnie Falco Date: Fri, 8 Jun 2018 14:01:01 -0700 Subject: [PATCH] Fix buffers_adapter iterator value type --- CHANGELOG.md | 1 + include/boost/beast/core/impl/buffers_adapter.ipp | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index c2edcd8a..5c746f64 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,6 +1,7 @@ Version 173: * Remove Autobahn testsuite doc note +* Fix buffers_adapter iterator value type -------------------------------------------------------------------------------- diff --git a/include/boost/beast/core/impl/buffers_adapter.ipp b/include/boost/beast/core/impl/buffers_adapter.ipp index e16d2a9b..d7f479ca 100644 --- a/include/boost/beast/core/impl/buffers_adapter.ipp +++ b/include/boost/beast/core/impl/buffers_adapter.ipp @@ -28,7 +28,7 @@ class buffers_adapter:: buffers_adapter const* ba_; public: - using value_type = boost::asio::mutable_buffer; + using value_type = boost::asio::const_buffer; class const_iterator;