浏览代码

Changed bind function to global namespace

This is to avoid conflict with std::bind introduced in C++11
wx
Wombat 6 年前
父节点
当前提交
04f99e5690
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1
    1
      networking.cpp

+ 1
- 1
networking.cpp 查看文件

@@ -340,7 +340,7 @@ void TCPListener::open() {

if(!OpenStage2Complete) { // Do this stage only once.
int result = // Bind our socket to the LocalAddress.
bind(
::bind(
Handle,
LocalAddress.getPtr_sockaddr(),
LocalAddress.getAddressSize());

正在加载...
取消
保存