Skip to content

Commit 89f02b6

Browse files
committed
去除部分无效代码
1 parent abf215a commit 89f02b6

File tree

1 file changed

+0
-8
lines changed

1 file changed

+0
-8
lines changed

network.cpp

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -21,10 +21,6 @@
2121
#include <network/network.hpp>
2222
#include <covscript/cni.hpp>
2323
#include <covscript/extension.hpp>
24-
#include <covscript/extensions/char.hpp>
25-
#include <covscript/extensions/array.hpp>
26-
#include <covscript/extensions/string.hpp>
27-
#include <covscript/extensions/exception.hpp>
2824
#include <memory>
2925

3026
namespace network_cs_ext {
@@ -291,10 +287,6 @@ namespace network_cs_ext {
291287

292288
void init()
293289
{
294-
char_cs_ext::init();
295-
array_cs_ext::init();
296-
string_cs_ext::init();
297-
except_cs_ext::init();
298290
network_ext.add_var("tcp", var::make_protect<extension_t>(tcp::tcp_ext_shared));
299291
network_ext.add_var("udp", var::make_protect<extension_t>(udp::udp_ext_shared));
300292
network_ext.add_var("host_name", var::make_protect<callable>(cni(host_name), true));

0 commit comments

Comments
 (0)