Tidy up BEAST_NO_BIG_VARIANTS

This commit is contained in:
Vinnie Falco
2017-07-20 08:15:30 -07:00
parent 8ee911f632
commit bb0e86ac01
3 changed files with 10 additions and 10 deletions
+4 -4
View File
@@ -146,7 +146,7 @@ next(error_code& ec, Visit&& visit)
if(! result)
goto go_header_only_c;
more_ = result->second;
#if ! BEAST_NO_BIG_VARIANTS
#ifndef BEAST_NO_BIG_VARIANTS
if(! more_)
{
// do it all in one buffer
@@ -226,7 +226,7 @@ next(error_code& ec, Visit&& visit)
if(! result)
goto go_final_c;
more_ = result->second;
#if ! BEAST_NO_BIG_VARIANTS
#ifndef BEAST_NO_BIG_VARIANTS
if(! more_)
{
// do it all in one buffer
@@ -279,7 +279,7 @@ next(error_code& ec, Visit&& visit)
visit(ec, boost::get<ch1_t>(v_));
break;
#if ! BEAST_NO_BIG_VARIANTS
#ifndef BEAST_NO_BIG_VARIANTS
go_body_final_c:
s_ = do_body_final_c;
case do_body_final_c:
@@ -423,7 +423,7 @@ consume(std::size_t n)
s_ = do_final_c;
break;
#if ! BEAST_NO_BIG_VARIANTS
#ifndef BEAST_NO_BIG_VARIANTS
case do_body_final_c:
{
auto& b = boost::get<ch2_t>(v_);