[wesnoth-commits] [wesnoth/wesnoth] 5cc08c: Simplified std::lock_guard usage

Charles Dang noreply at github.com
Tue Jan 19 08:18:17 UTC 2021


  Branch: refs/heads/master
  Home:   https://github.com/wesnoth/wesnoth
  Commit: 5cc08cb34ac311b6e60c3ade5d019caf985bac81
      https://github.com/wesnoth/wesnoth/commit/5cc08cb34ac311b6e60c3ade5d019caf985bac81
  Author: Charles Dang <exodia339 at gmail.com>
  Date:   2021-01-19 (Tue, 19 Jan 2021)

  Changed paths:
    M src/gettext.cpp
    M src/gui/core/timer.cpp
    M src/log.cpp
    M src/wesnothd_connection.cpp

  Log Message:
  -----------
  Simplified std::lock_guard usage


  Commit: 9de9c2195b570c5b997fd5dcc70f37c3848ae844
      https://github.com/wesnoth/wesnoth/commit/9de9c2195b570c5b997fd5dcc70f37c3848ae844
  Author: Charles Dang <exodia339 at gmail.com>
  Date:   2021-01-19 (Tue, 19 Jan 2021)

  Changed paths:
    M src/addon/validation.cpp
    M src/ai/default/attack.cpp
    M src/ai/default/ca_move_to_targets.cpp
    M src/ai/formula/function_table.cpp
    M src/commandline_options.cpp
    M src/editor/controller/editor_controller.cpp
    M src/filesystem_sdl.cpp
    M src/gui/core/placer/horizontal_list.cpp
    M src/gui/core/placer/vertical_list.cpp
    M src/gui/dialogs/chat_log.cpp
    M src/gui/widgets/addon_list.cpp
    M src/gui/widgets/listbox.cpp
    M src/gui/widgets/tree_view.cpp
    M src/map/map.cpp
    M src/pathfind/pathfind.cpp
    M src/preferences/game.cpp
    M src/scripting/lua_terrainmap.cpp
    M src/serialization/string_utils.cpp
    M src/serialization/ucs4_iterator_base.hpp
    M src/statistics.cpp
    M src/synced_user_choice.cpp
    M src/tracer.hpp
    M src/units/abilities.cpp
    M src/units/map.cpp
    M src/whiteboard/utility.cpp
    M src/widgets/menu.cpp

  Log Message:
  -----------
  Replaced std::make_pair with just std::pair


  Commit: 7e5779469bb6948065f378974f7d2fafe9f310f2
      https://github.com/wesnoth/wesnoth/commit/7e5779469bb6948065f378974f7d2fafe9f310f2
  Author: Charles Dang <exodia339 at gmail.com>
  Date:   2021-01-19 (Tue, 19 Jan 2021)

  Changed paths:
    M src/actions/create.cpp
    M src/game_events/pump.cpp
    M src/gui/dialogs/unit_list.cpp
    M src/gui/dialogs/unit_recall.cpp
    M src/units/filter.cpp

  Log Message:
  -----------
  Replaced std::make_tuple with just std::tuple


  Commit: 21aaa8b77d424b42a375b84fc728083d5d5cace1
      https://github.com/wesnoth/wesnoth/commit/21aaa8b77d424b42a375b84fc728083d5d5cace1
  Author: Charles Dang <exodia339 at gmail.com>
  Date:   2021-01-19 (Tue, 19 Jan 2021)

  Changed paths:
    M src/serialization/ucs4_iterator_base.hpp

  Log Message:
  -----------
  This pair construction is redundant


  Commit: 5beff5f64bab072590946bfadb7efd2ba3c0e0ab
      https://github.com/wesnoth/wesnoth/commit/5beff5f64bab072590946bfadb7efd2ba3c0e0ab
  Author: Charles Dang <exodia339 at gmail.com>
  Date:   2021-01-19 (Tue, 19 Jan 2021)

  Changed paths:
    M src/scripting/push_check.hpp

  Log Message:
  -----------
  Replaced lua_check_impl::remove_constref with std::decay


Compare: https://github.com/wesnoth/wesnoth/compare/9b921fd509d4...5beff5f64bab



More information about the Commits mailing list