Instantiate net::address in net namespace.

Fixes compilation error under clang++.
This commit is contained in:
Danny Robson 2012-08-10 17:39:33 +10:00
parent b34a78216b
commit fa5a6c9ed9

View File

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