mirror of
https://github.com/boostorg/beast.git
synced 2025-07-29 20:37:31 +02:00
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. refs #1934
This commit is contained in:
10
CHANGELOG.md
10
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)
|
||||
|
@ -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
|
||||
|
||||
|
Reference in New Issue
Block a user