Instantiate net::address in net namespace.
Fixes compilation error under clang++.
This commit is contained in:
parent
b34a78216b
commit
fa5a6c9ed9
@ -155,10 +155,9 @@ address<domain::INET>::LOOPBACK ("127.0.0.1", 0);
|
|||||||
template <> const address<domain::INET>
|
template <> const address<domain::INET>
|
||||||
address<domain::INET>::ANY ("0.0.0.0", 0);
|
address<domain::INET>::ANY ("0.0.0.0", 0);
|
||||||
|
|
||||||
template typename address<domain::INET>::ip_type
|
namespace net {
|
||||||
address<domain::INET>::resolve (const std::string &);
|
|
||||||
|
|
||||||
template class address<domain::INET>;
|
template class address<domain::INET>;
|
||||||
|
}
|
||||||
|
|
||||||
//-----------------------------------------------------------------------------
|
//-----------------------------------------------------------------------------
|
||||||
//template <> const address<domain::INET6>
|
//template <> const address<domain::INET6>
|
||||||
|
Loading…
Reference in New Issue
Block a user