forked from boostorg/beast
error_codes use source_location.
This commit is contained in:
1 parent
9473c10dde
commit
f4d1936bb2
27 files changed
+117
-84
No files matched your search
@@ -345,7 +345,7 @@ private:
|
||||
BOOST_ASSERT(! used_);
|
||||
if(used_)
|
||||
{
|
||||
ec = error::stale_parser;
|
||||
BOOST_BEAST_ASSIGN_EC(ec, error::stale_parser);
|
||||
return;
|
||||
}
|
||||
used_ = true;
|
||||
@@ -395,7 +395,7 @@ private:
|
||||
BOOST_ASSERT(! used_);
|
||||
if(used_)
|
||||
{
|
||||
ec = error::stale_parser;
|
||||
BOOST_BEAST_ASSIGN_EC(ec, error::stale_parser);
|
||||
return;
|
||||
}
|
||||
used_ = true;
|
||||
|
||||
Reference in new issue
Block a user