mirror of
https://github.com/boostorg/beast.git
synced 2026-08-03 20:14:17 +02:00
committed by
Mohammad Nejati
parent
b687af73c3
commit
e085c528a8
@@ -67,7 +67,6 @@ set(BOOST_BEAST_DEPENDENCIES
|
|||||||
Boost::logic
|
Boost::logic
|
||||||
Boost::mp11
|
Boost::mp11
|
||||||
Boost::optional
|
Boost::optional
|
||||||
Boost::preprocessor
|
|
||||||
Boost::smart_ptr
|
Boost::smart_ptr
|
||||||
Boost::static_string
|
Boost::static_string
|
||||||
Boost::system
|
Boost::system
|
||||||
|
|||||||
@@ -20,7 +20,6 @@ constant boost_dependencies :
|
|||||||
/boost/logic//boost_logic
|
/boost/logic//boost_logic
|
||||||
/boost/mp11//boost_mp11
|
/boost/mp11//boost_mp11
|
||||||
/boost/optional//boost_optional
|
/boost/optional//boost_optional
|
||||||
/boost/preprocessor//boost_preprocessor
|
|
||||||
/boost/smart_ptr//boost_smart_ptr
|
/boost/smart_ptr//boost_smart_ptr
|
||||||
/boost/static_string//boost_static_string
|
/boost/static_string//boost_static_string
|
||||||
/boost/system//boost_system
|
/boost/system//boost_system
|
||||||
|
|||||||
@@ -15,7 +15,6 @@
|
|||||||
#include <boost/version.hpp>
|
#include <boost/version.hpp>
|
||||||
#include <boost/core/ignore_unused.hpp>
|
#include <boost/core/ignore_unused.hpp>
|
||||||
#include <boost/core/detail/static_assert.hpp>
|
#include <boost/core/detail/static_assert.hpp>
|
||||||
#include <boost/preprocessor/cat.hpp>
|
|
||||||
|
|
||||||
namespace boost {
|
namespace boost {
|
||||||
namespace asio
|
namespace asio
|
||||||
@@ -102,15 +101,16 @@ namespace net = boost::asio;
|
|||||||
#define BOOST_BEAST_ASYNC_TPARAM2 BOOST_ASIO_COMPLETION_TOKEN_FOR(void(::boost::beast::error_code, ::std::size_t))
|
#define BOOST_BEAST_ASYNC_TPARAM2 BOOST_ASIO_COMPLETION_TOKEN_FOR(void(::boost::beast::error_code, ::std::size_t))
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|
||||||
#ifdef BOOST_BEAST_NO_SOURCE_LOCATION
|
#ifdef BOOST_BEAST_NO_SOURCE_LOCATION
|
||||||
#define BOOST_BEAST_ASSIGN_EC(ec, error) ec = error
|
#define BOOST_BEAST_ASSIGN_EC(ec, error) ec = error
|
||||||
#else
|
#else
|
||||||
|
|
||||||
#define BOOST_BEAST_ASSIGN_EC(ec, error) \
|
#define BOOST_BEAST_ASSIGN_EC(ec, error) \
|
||||||
static constexpr auto BOOST_PP_CAT(loc_, __LINE__) ((BOOST_CURRENT_LOCATION)); \
|
do \
|
||||||
ec.assign(error, & BOOST_PP_CAT(loc_, __LINE__) )
|
{ \
|
||||||
|
static constexpr auto loc__((BOOST_CURRENT_LOCATION)); \
|
||||||
|
ec.assign(error, &loc__); \
|
||||||
|
} \
|
||||||
|
while (false)
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifndef BOOST_BEAST_FILE_BUFFER_SIZE
|
#ifndef BOOST_BEAST_FILE_BUFFER_SIZE
|
||||||
|
|||||||
@@ -36,7 +36,6 @@ else()
|
|||||||
logic
|
logic
|
||||||
mp11
|
mp11
|
||||||
optional
|
optional
|
||||||
preprocessor
|
|
||||||
smart_ptr
|
smart_ptr
|
||||||
static_string
|
static_string
|
||||||
system
|
system
|
||||||
@@ -63,6 +62,7 @@ else()
|
|||||||
numeric/conversion
|
numeric/conversion
|
||||||
range
|
range
|
||||||
tokenizer
|
tokenizer
|
||||||
|
preprocessor
|
||||||
array
|
array
|
||||||
concept_check
|
concept_check
|
||||||
exception
|
exception
|
||||||
|
|||||||
Reference in New Issue
Block a user