Use BOOST_FALLTHROUGH

fix #437
This commit is contained in:
Vinnie Falco committed 2017-07-20 08:12:19 -07:00
1 parent cff5be3837
commit 55358835c6
12 files changed
+43 -31

No files matched your search

+2 -1
View File
@@ -18,6 +18,7 @@
#include <boost/asio/handler_continuation_hook.hpp>
#include <boost/asio/handler_invoke_hook.hpp>
#include <boost/asio/write.hpp>
#include <boost/config.hpp>
#include <boost/optional.hpp>
#include <boost/throw_exception.hpp>
#include <ostream>
@@ -317,7 +318,7 @@ operator()(error_code ec,
case 2:
state_ = 3;
// [[fallthrough]]
BOOST_FALLTHROUGH;
case 3:
{