[Commits] [wesnoth/wesnoth] e46dfc: GUI2: use an std::set for the registered window ty...

GitHub noreply at github.com
Mon May 29 06:05:34 UTC 2017


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

  Changed paths:
    M src/gui/widgets/settings.cpp
    M src/gui/widgets/settings.hpp
    M src/tests/gui/test_gui2.cpp

  Log Message:
  -----------
  GUI2: use an std::set for the registered window types

Slightly simplifies the register_window interface and guarantees uniqueness everywhere.





More information about the Commits mailing list