0
0
Fork 0
mirror of https://github.com/matrix-construct/construct synced 2024-11-25 16:22:35 +01:00

ircd::net: Make various conversions to ipaddr explicit.

This commit is contained in:
Jason Volk 2019-04-09 15:52:51 -07:00
parent ca7d401144
commit 37ddf9f8fb

View file

@ -57,11 +57,11 @@ union ircd::net::ipaddr
explicit operator bool() const;
ipaddr(const uint32_t &ip);
ipaddr(const uint128_t &ip);
ipaddr(const rfc1035::record::A &);
ipaddr(const rfc1035::record::AAAA &);
ipaddr(const boost::asio::ip::address &);
explicit ipaddr(const uint32_t &ip);
explicit ipaddr(const uint128_t &ip);
explicit ipaddr(const rfc1035::record::A &);
explicit ipaddr(const rfc1035::record::AAAA &);
explicit ipaddr(const boost::asio::ip::address &);
ipaddr(const string_view &ip);
ipaddr() = default;
};