forked from boostorg/beast
Tidy up core sources:
The core headers are moved to their own directory (but remain in the same namespace).
This commit is contained in:
1 parent
2893f8c82a
commit
e0956c36c1
120 files changed
+299
-233
No files matched your search
@@ -9,9 +9,9 @@
|
||||
#define BEAST_HTTP_IMPL_READ_IPP_HPP
|
||||
|
||||
#include <beast/http/parser_v1.hpp>
|
||||
#include <beast/bind_handler.hpp>
|
||||
#include <beast/handler_alloc.hpp>
|
||||
#include <beast/stream_concepts.hpp>
|
||||
#include <beast/core/bind_handler.hpp>
|
||||
#include <beast/core/handler_alloc.hpp>
|
||||
#include <beast/core/stream_concepts.hpp>
|
||||
#include <cassert>
|
||||
|
||||
namespace beast {
|
||||
@@ -221,7 +221,7 @@ read(SyncReadStream& stream, Streambuf& streambuf,
|
||||
error_code ec;
|
||||
read(stream, streambuf, msg, ec);
|
||||
if(ec)
|
||||
throw boost::system::system_error{ec};
|
||||
throw system_error{ec};
|
||||
}
|
||||
|
||||
template<class SyncReadStream, class Streambuf,
|
||||
|
||||
Reference in new issue
Block a user