mirror of
https://github.com/boostorg/beast.git
synced 2025-07-31 21:34:46 +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
|
||||
* Add basic_parser header and body limits
|
||||
* Add parser::on_header to set a callback
|
||||
* Fix BEAST_FALLTHROUGH
|
||||
|
||||
API Changes:
|
||||
|
||||
|
@@ -14,7 +14,7 @@
|
||||
#if BOOST_VERSION >= 106500 || ! defined(BOOST_GCC) || BOOST_GCC < 70000
|
||||
# define BEAST_FALLTHROUGH BOOST_FALLTHROUGH
|
||||
#else
|
||||
# define BEAST_FALLTHROUGH _attribute__((fallthrough))
|
||||
# define BEAST_FALLTHROUGH __attribute__((fallthrough))
|
||||
#endif
|
||||
|
||||
#endif
|
||||
|
Reference in New Issue
Block a user