[Commits] [wesnoth/wesnoth] b87d8e: explicitly use std::placeholders for the second st...

GitHub noreply at github.com
Thu Jul 28 18:33:12 UTC 2016


  Branch: refs/heads/master
  Home:   https://github.com/wesnoth/wesnoth
  Commit: b87d8e5ede060e10b5927b8721933c05d1295c0d
      https://github.com/wesnoth/wesnoth/commit/b87d8e5ede060e10b5927b8721933c05d1295c0d
  Author: gfgtdf <daniel.gfgtdf at gmail.com>
  Date:   2016-07-28 (Thu, 28 Jul 2016)

  Changed paths:
    M src/config.cpp
    M src/construct_dialog.cpp
    M src/game_initialization/multiplayer_configure.cpp
    M src/game_initialization/multiplayer_connect.cpp
    M src/game_initialization/multiplayer_create.cpp
    M src/game_initialization/multiplayer_lobby.cpp
    M src/game_initialization/multiplayer_wait.cpp
    M src/hotkey/hotkey_item.cpp
    M src/recall_list_manager.cpp
    M src/scripting/application_lua_kernel.cpp
    M src/scripting/plugins/context.cpp
    M src/server/ban.cpp
    M src/tests/create_images.cpp
    M src/tests/gui/test_drop_target.cpp
    M src/tests/test_sdl_utils.cpp
    M src/widgets/drop_target.cpp

  Log Message:
  -----------
  explicitly use std::placeholders for the second std::bind parameter

done by using this regex replace:
'(std::bind[\ \t\n\r]*\([\ \t\n\r]*[^\,]*[\ \t\n\r]*,[\
\t\n\r]*)_([1-9])' to '$1std::placeholders::_$2' (msvc syntax)

Using boost::placeholder with std::bind seeed to cause compilation
erros with some libc++ version used by dafault on some OSX versions.





More information about the Commits mailing list