[wesnoth-commits] [wesnoth/wesnoth] beed7b: Use std::map::at() in ter_map::get()

GitHub noreply at github.com
Sun Mar 4 17:49:39 UTC 2018


  Branch: refs/heads/master
  Home:   https://github.com/wesnoth/wesnoth
  Commit: beed7bfe7231f3dc6d4f0b1553222ca09ab20912
      https://github.com/wesnoth/wesnoth/commit/beed7bfe7231f3dc6d4f0b1553222ca09ab20912
  Author: Jyrki Vesterinen <sandgtx at gmail.com>
  Date:   2018-03-04 (Sun, 04 Mar 2018)

  Changed paths:
    M src/terrain/translation.hpp

  Log Message:
  -----------
  Use std::map::at() in ter_map::get()

No need to roll our own bounds check when C++ standard library can do it
for us.




More information about the Commits mailing list