소스 검색

Changed bind function to global namespace

This is to avoid conflict with std::bind introduced in C++11
wx
Wombat 5 년 전
부모
커밋
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());

Loading…
취소
저장