mirror of
https://github.com/matrix-construct/construct
synced 2025-01-14 00:34:18 +01:00
ircd: Add fwd decl of boost::system::errc namespace.
This commit is contained in:
parent
9e086e9acd
commit
65a81301a7
1 changed files with 2 additions and 0 deletions
|
@ -30,6 +30,7 @@
|
|||
namespace boost::system
|
||||
{
|
||||
struct error_code;
|
||||
namespace errc {}
|
||||
}
|
||||
|
||||
/// Forward declarations for boost::asio because it is not included here.
|
||||
|
@ -42,6 +43,7 @@ namespace ircd
|
|||
{
|
||||
/// Alias so that asio:: can be used
|
||||
namespace asio = boost::asio;
|
||||
namespace errc = boost::system::errc;
|
||||
using boost::system::error_code;
|
||||
|
||||
/// A record of the thread ID when static initialization took place (for ircd.cc)
|
||||
|
|
Loading…
Reference in a new issue