Преглед изворни кода

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 Прегледај датотеку



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

Loading…
Откажи
Сачувај