diff --git a/CHANGELOG.md b/CHANGELOG.md index b1fa7136..c91c1f23 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,13 @@ +* Rename to BOOST_BEAST_ALLOW_DEPRECATED (API Change) + +API Changes: + +* The macro BOOST_BEAST_NO_DEPRECATED will no longer be noticed by Beast. The only way to +enable deprecated functionality is now the macro BOOST_BEAST_ALLOW_DEPRECATED which is +undefined by default. That is, all deprecated behaviour is disabled by default. + +-------------------------------------------------------------------------------- + Version 295: * Parser body_limit is optional (API Change) diff --git a/include/boost/beast/zlib/error.hpp b/include/boost/beast/zlib/error.hpp index 940ed466..1f481907 100644 --- a/include/boost/beast/zlib/error.hpp +++ b/include/boost/beast/zlib/error.hpp @@ -107,7 +107,7 @@ enum class error /// Invalid code lengths invalid_code_lengths, -#ifndef BOOST_BEAST_NO_DEPRECATED +#ifdef BOOST_BEAST_ALLOW_DEPRECATED invalid_code_lenths = invalid_code_lengths, #endif