[Commits] [wesnoth/wesnoth] 726db2: GUI2: use an std::list for the dispatcher signal q...

GitHub noreply at github.com
Mon May 1 11:10:01 UTC 2017


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

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

  Log Message:
  -----------
  GUI2: use an std::list for the dispatcher signal queues

The queues by design support both front and back insertion. Utilizing a vector introduces unnecessary
overhead when utilizing front insertion.





More information about the Commits mailing list