diff --git a/CHANGELOG.md b/CHANGELOG.md index 4ec721f2..4a6d7376 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,6 +4,7 @@ Version 187: * Fix warning in file tests * Fix uninitialized comparison in buffers iterator * Partial support for BOOST_NO_EXCEPTIONS +* Fix a spurious gcc warning -------------------------------------------------------------------------------- diff --git a/include/boost/beast/core/impl/buffers_cat.ipp b/include/boost/beast/core/impl/buffers_cat.ipp index 81fe8c16..9de1187f 100644 --- a/include/boost/beast/core/impl/buffers_cat.ipp +++ b/include/boost/beast/core/impl/buffers_cat.ipp @@ -34,6 +34,8 @@ class buffers_cat_view::const_iterator struct past_end { + char unused = 0; // make g++8 happy + operator bool() const noexcept { return true;