[Commits] [wesnoth/wesnoth] ebc56a: Events: formatting update

GitHub noreply at github.com
Mon May 29 04:47:35 UTC 2017


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

  Changed paths:
    M src/events.cpp

  Log Message:
  -----------
  Events: formatting update


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

  Changed paths:
    M src/events.cpp

  Log Message:
  -----------
  Events: range-for

A few loops were guarded around if(!container.empty()) checks. I removed those, since the loops are
no-op if said containers are empty.


Compare: https://github.com/wesnoth/wesnoth/compare/1cec4e6f570c...ae986735919b


More information about the Commits mailing list