25
25
namespace network_cs_ext {
26
26
using namespace cs ;
27
27
static extension network_ext;
28
- static extension_t network_ext_shared = make_shared_extension (network_ext);
28
+ static extension_t network_ext_shared = make_shared_namespace (network_ext);
29
29
30
30
string host_name ()
31
31
{
@@ -34,7 +34,7 @@ namespace network_cs_ext {
34
34
35
35
namespace tcp {
36
36
static extension tcp_ext;
37
- static extension_t tcp_ext_shared = make_shared_extension (tcp_ext);
37
+ static extension_t tcp_ext_shared = make_shared_namespace (tcp_ext);
38
38
using socket_t =std::shared_ptr<cs_impl::network::tcp::socket>;
39
39
using acceptor_t =std::shared_ptr<asio::ip::tcp::acceptor>;
40
40
using endpoint_t =asio::ip::tcp::endpoint;
@@ -86,7 +86,7 @@ namespace network_cs_ext {
86
86
87
87
namespace socket {
88
88
static extension socket_ext;
89
- static extension_t socket_ext_shared = make_shared_extension (socket_ext);
89
+ static extension_t socket_ext_shared = make_shared_namespace (socket_ext);
90
90
91
91
var socket ()
92
92
{
@@ -166,7 +166,7 @@ namespace network_cs_ext {
166
166
167
167
namespace udp {
168
168
static extension udp_ext;
169
- static extension_t udp_ext_shared = make_shared_extension (udp_ext);
169
+ static extension_t udp_ext_shared = make_shared_namespace (udp_ext);
170
170
using socket_t =std::shared_ptr<cs_impl::network::udp::socket>;
171
171
using endpoint_t =asio::ip::udp::endpoint;
172
172
@@ -206,7 +206,7 @@ namespace network_cs_ext {
206
206
207
207
namespace socket {
208
208
static extension socket_ext;
209
- static extension_t socket_ext_shared = make_shared_extension (socket_ext);
209
+ static extension_t socket_ext_shared = make_shared_namespace (socket_ext);
210
210
211
211
var socket ()
212
212
{
0 commit comments