diff --git a/CHANGELOG.md b/CHANGELOG.md index 40fa2b43..6a809e3e 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -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: diff --git a/include/beast/core/detail/config.hpp b/include/beast/core/detail/config.hpp index 100348cc..461ca38b 100644 --- a/include/beast/core/detail/config.hpp +++ b/include/beast/core/detail/config.hpp @@ -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