mirror of
https://git.suyu.dev/suyu/ext-boost.git
synced 2025-12-24 00:04:41 +01:00
Revert "externals: Update boost to 1.72 and add Boost Context"
This commit is contained in:
parent
8b4b26a2fd
commit
faaf93d90b
618 changed files with 14262 additions and 96298 deletions
|
|
@ -61,7 +61,7 @@ public:
|
|||
#endif
|
||||
|
||||
/// Default constructor.
|
||||
basic_endpoint() BOOST_ASIO_NOEXCEPT
|
||||
basic_endpoint()
|
||||
{
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -46,19 +46,19 @@ class datagram_protocol
|
|||
{
|
||||
public:
|
||||
/// Obtain an identifier for the type of the protocol.
|
||||
int type() const BOOST_ASIO_NOEXCEPT
|
||||
int type() const
|
||||
{
|
||||
return SOCK_DGRAM;
|
||||
}
|
||||
|
||||
/// Obtain an identifier for the protocol.
|
||||
int protocol() const BOOST_ASIO_NOEXCEPT
|
||||
int protocol() const
|
||||
{
|
||||
return 0;
|
||||
}
|
||||
|
||||
/// Obtain an identifier for the protocol family.
|
||||
int family() const BOOST_ASIO_NOEXCEPT
|
||||
int family() const
|
||||
{
|
||||
return AF_UNIX;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -48,19 +48,19 @@ class stream_protocol
|
|||
{
|
||||
public:
|
||||
/// Obtain an identifier for the type of the protocol.
|
||||
int type() const BOOST_ASIO_NOEXCEPT
|
||||
int type() const
|
||||
{
|
||||
return SOCK_STREAM;
|
||||
}
|
||||
|
||||
/// Obtain an identifier for the protocol.
|
||||
int protocol() const BOOST_ASIO_NOEXCEPT
|
||||
int protocol() const
|
||||
{
|
||||
return 0;
|
||||
}
|
||||
|
||||
/// Obtain an identifier for the protocol family.
|
||||
int family() const BOOST_ASIO_NOEXCEPT
|
||||
int family() const
|
||||
{
|
||||
return AF_UNIX;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue