[Commits] [wesnoth/wesnoth] c3f0e1: Game Events: reformatted manager code

GitHub noreply at github.com
Fri May 19 22:50:54 UTC 2017


  Branch: refs/heads/master
  Home:   https://github.com/wesnoth/wesnoth
  Commit: c3f0e1e15bbcbc381c441769960715ea90a37d53
      https://github.com/wesnoth/wesnoth/commit/c3f0e1e15bbcbc381c441769960715ea90a37d53
  Author: Charles Dang <exodia339 at gmail.com>
  Date:   2017-05-20 (Sat, 20 May 2017)

  Changed paths:
    M src/game_events/manager.cpp
    M src/game_events/manager_impl.cpp

  Log Message:
  -----------
  Game Events: reformatted manager code


  Commit: c02968ec2dadc794281022decf0380ecf184b66c
      https://github.com/wesnoth/wesnoth/commit/c02968ec2dadc794281022decf0380ecf184b66c
  Author: Charles Dang <exodia339 at gmail.com>
  Date:   2017-05-20 (Sat, 20 May 2017)

  Changed paths:
    M src/game_events/manager.cpp
    M src/game_events/manager_impl.cpp

  Log Message:
  -----------
  Game Events/Manager: minor code simplification


  Commit: ba712685d51e6135a630d853a2160e4195a834d1
      https://github.com/wesnoth/wesnoth/commit/ba712685d51e6135a630d853a2160e4195a834d1
  Author: Charles Dang <exodia339 at gmail.com>
  Date:   2017-05-20 (Sat, 20 May 2017)

  Changed paths:
    M src/game_events/manager.cpp
    M src/game_events/manager_impl.hpp

  Log Message:
  -----------
  Game Events: remove iterator interface from event_handlers

This was a simple wrapper around the member `active_` vector's iterators. Instead, I added a getter
for the vector in question (and renamed an existing getter for a different container for clarity).


Compare: https://github.com/wesnoth/wesnoth/compare/ec431275ffa4...ba712685d51e


More information about the Commits mailing list