ソースを参照

Changed bind function to global namespace

This is to avoid conflict with std::bind introduced in C++11
wx
Wombat 7年前
コミット
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());

読み込み中…
キャンセル
保存