mirror of
https://github.com/boostorg/beast.git
synced 2025-08-02 14:24:31 +02:00
Fix BEAST_FALLTHROUGH in config
This commit is contained in:
committed by
Vinnie Falco
parent
7753d6eda2
commit
0ab9975751
@@ -3,6 +3,7 @@ Version 70:
|
|||||||
* Serialize in one step when possible
|
* Serialize in one step when possible
|
||||||
* Add basic_parser header and body limits
|
* Add basic_parser header and body limits
|
||||||
* Add parser::on_header to set a callback
|
* Add parser::on_header to set a callback
|
||||||
|
* Fix BEAST_FALLTHROUGH
|
||||||
|
|
||||||
API Changes:
|
API Changes:
|
||||||
|
|
||||||
|
@@ -14,7 +14,7 @@
|
|||||||
#if BOOST_VERSION >= 106500 || ! defined(BOOST_GCC) || BOOST_GCC < 70000
|
#if BOOST_VERSION >= 106500 || ! defined(BOOST_GCC) || BOOST_GCC < 70000
|
||||||
# define BEAST_FALLTHROUGH BOOST_FALLTHROUGH
|
# define BEAST_FALLTHROUGH BOOST_FALLTHROUGH
|
||||||
#else
|
#else
|
||||||
# define BEAST_FALLTHROUGH _attribute__((fallthrough))
|
# define BEAST_FALLTHROUGH __attribute__((fallthrough))
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
Reference in New Issue
Block a user