mirror of
https://github.com/matrix-construct/construct
synced 2024-11-29 10:12:39 +01:00
ircd::net: Make various conversions to ipaddr explicit.
This commit is contained in:
parent
ca7d401144
commit
37ddf9f8fb
1 changed files with 5 additions and 5 deletions
|
@ -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;
|
||||
};
|
||||
|
|
Loading…
Reference in a new issue