[wesnoth-commits] [wesnoth/wesnoth] 45cab7: Mark game_events::manager::execute_on_events() as ...

GitHub noreply at github.com
Sat Mar 10 09:49:55 UTC 2018


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

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

  Log Message:
  -----------
  Mark game_events::manager::execute_on_events() as noexcept

The function relies on never throwing exceptions in order for cleanup of
disabled events to work. Best to enforce that requirement.




More information about the Commits mailing list