[Commits] [wesnoth/wesnoth] 38f5aa: mouse_events: use unit_map::iterator::operator boo...

GitHub noreply at github.com
Wed Dec 24 00:55:33 UTC 2014


  Branch: refs/heads/master
  Home:   https://github.com/wesnoth/wesnoth
  Commit: 38f5aaa56ef87ed58ae03239ac0a600988c0fd09
      https://github.com/wesnoth/wesnoth/commit/38f5aaa56ef87ed58ae03239ac0a600988c0fd09
  Author: Chris Beck <render787 at gmail.com>
  Date:   2014-12-23 (Tue, 23 Dec 2014)

  Changed paths:
    M src/mouse_events.cpp

  Log Message:
  -----------
  mouse_events: use unit_map::iterator::operator bool to simplify

the new syntax allows to greatly improve readability by eliminating
many cumbersome expressions which grab the unit_map somehow and
compare with ::end()





More information about the Commits mailing list