[Commits] [wesnoth/wesnoth] 804c7d: Make gui2::event::message noncopyable

GitHub noreply at github.com
Sun Apr 30 10:07:56 UTC 2017


  Branch: refs/heads/master
  Home:   https://github.com/wesnoth/wesnoth
  Commit: 804c7d604511907c76b4651049b7d7902ad653a4
      https://github.com/wesnoth/wesnoth/commit/804c7d604511907c76b4651049b7d7902ad653a4
  Author: Jyrki Vesterinen <sandgtx at gmail.com>
  Date:   2017-04-30 (Sun, 30 Apr 2017)

  Changed paths:
    M src/gui/core/event/dispatcher.cpp
    M src/gui/core/event/message.hpp

  Log Message:
  -----------
  Make gui2::event::message noncopyable

This makes it impossible to accidentally pass a message by value, which
avoids problems like the crashes @Vultraz got when refactoring the event
dispatcher.





More information about the Commits mailing list