File tree Expand file tree Collapse file tree 4 files changed +7
-9
lines changed
include/boost/beast/core/detail Expand file tree Collapse file tree 4 files changed +7
-9
lines changed Original file line number Diff line number Diff line change @@ -67,7 +67,6 @@ set(BOOST_BEAST_DEPENDENCIES
6767 Boost::logic
6868 Boost::mp11
6969 Boost::optional
70- Boost::preprocessor
7170 Boost::smart_ptr
7271 Boost::static_string
7372 Boost::system
Original file line number Diff line number Diff line change @@ -20,7 +20,6 @@ constant boost_dependencies :
2020 /boost/logic//boost_logic
2121 /boost/mp11//boost_mp11
2222 /boost/optional//boost_optional
23- /boost/preprocessor//boost_preprocessor
2423 /boost/smart_ptr//boost_smart_ptr
2524 /boost/static_string//boost_static_string
2625 /boost/system//boost_system
Original file line number Diff line number Diff line change 1515#include < boost/version.hpp>
1616#include < boost/core/ignore_unused.hpp>
1717#include < boost/core/detail/static_assert.hpp>
18- #include < boost/preprocessor/cat.hpp>
1918
2019namespace boost {
2120namespace asio
@@ -102,15 +101,16 @@ namespace net = boost::asio;
102101#define BOOST_BEAST_ASYNC_TPARAM2 BOOST_ASIO_COMPLETION_TOKEN_FOR (void (::boost::beast::error_code, ::std::size_t ))
103102#endif
104103
105-
106104#ifdef BOOST_BEAST_NO_SOURCE_LOCATION
107105#define BOOST_BEAST_ASSIGN_EC (ec, error ) ec = error
108106#else
109-
110107#define BOOST_BEAST_ASSIGN_EC (ec, error ) \
111- static constexpr auto BOOST_PP_CAT (loc_, __LINE__) ((BOOST_CURRENT_LOCATION)); \
112- ec.assign(error, & BOOST_PP_CAT (loc_, __LINE__) )
113-
108+ do \
109+ { \
110+ static constexpr auto loc__ ((BOOST_CURRENT_LOCATION)); \
111+ ec.assign (error, &loc__); \
112+ } \
113+ while (false )
114114#endif
115115
116116#ifndef BOOST_BEAST_FILE_BUFFER_SIZE
Original file line number Diff line number Diff line change 3636 logic
3737 mp11
3838 optional
39- preprocessor
4039 smart_ptr
4140 static_string
4241 system
6362 numeric/conversion
6463 range
6564 tokenizer
65+ preprocessor
6666 array
6767 concept_check
6868 exception
You can’t perform that action at this time.
0 commit comments