error_codes use source_location.

This commit is contained in:
Klemens Morgenstern authored and Klemens Morgenstern committed 2022-10-26 00:06:01 +08:00
1 parent 9473c10dde
commit f4d1936bb2
27 files changed
+117 -84

No files matched your search

+2 -2
View File
@@ -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;