0
0
Fork 0
mirror of https://github.com/matrix-construct/construct synced 2024-06-10 14:08:56 +02:00

ircd: Add fwd decl of boost::system::errc namespace.

This commit is contained in:
Jason Volk 2018-01-08 13:27:25 -08:00
parent 9e086e9acd
commit 65a81301a7

View file

@ -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)