Bladeren bron

Changed bind function to global namespace

This is to avoid conflict with std::bind introduced in C++11
wx
Wombat 5 jaren geleden
bovenliggende
commit
04f99e5690
1 gewijzigde bestanden met toevoegingen van 1 en 1 verwijderingen
  1. 1
    1
      networking.cpp

+ 1
- 1
networking.cpp Bestand weergeven

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

Laden…
Annuleren
Opslaan