Procházet zdrojové kódy

Changed bind function to global namespace

This is to avoid conflict with std::bind introduced in C++11
wx
Wombat před 5 roky
rodič
revize
04f99e5690
1 změnil soubory, kde provedl 1 přidání a 1 odebrání
  1. 1
    1
      networking.cpp

+ 1
- 1
networking.cpp Zobrazit soubor

@@ -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());

Načítá se…
Zrušit
Uložit