mirror of
https://git.suyu.dev/suyu/ext-boost.git
synced 2026-01-05 14:08:12 +01:00
externals: Update boost to 1.72 and add Boost Context
This commit is contained in:
parent
5e8300b76a
commit
77abe07b3b
618 changed files with 96299 additions and 14263 deletions
|
|
@ -48,19 +48,19 @@ class stream_protocol
|
|||
{
|
||||
public:
|
||||
/// Obtain an identifier for the type of the protocol.
|
||||
int type() const
|
||||
int type() const BOOST_ASIO_NOEXCEPT
|
||||
{
|
||||
return SOCK_STREAM;
|
||||
}
|
||||
|
||||
/// Obtain an identifier for the protocol.
|
||||
int protocol() const
|
||||
int protocol() const BOOST_ASIO_NOEXCEPT
|
||||
{
|
||||
return 0;
|
||||
}
|
||||
|
||||
/// Obtain an identifier for the protocol family.
|
||||
int family() const
|
||||
int family() const BOOST_ASIO_NOEXCEPT
|
||||
{
|
||||
return AF_UNIX;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue