[Commits] [wesnoth/wesnoth] f8d13b: GUI2: deployed emplace_back en-masse where appropr...

GitHub noreply at github.com
Tue Apr 4 07:42:15 UTC 2017


  Branch: refs/heads/master
  Home:   https://github.com/wesnoth/wesnoth
  Commit: f8d13b3f5687b93c6da0308ea80b0ed96bbbe000
      https://github.com/wesnoth/wesnoth/commit/f8d13b3f5687b93c6da0308ea80b0ed96bbbe000
  Author: Charles Dang <exodia339 at gmail.com>
  Date:   2017-04-04 (Tue, 04 Apr 2017)

  Changed paths:
    M src/gui/core/event/dispatcher_private.hpp
    M src/gui/core/placer/horizontal_list.cpp
    M src/gui/core/placer/vertical_list.cpp
    M src/gui/core/widget_definition.hpp
    M src/gui/core/window_builder.cpp
    M src/gui/dialogs/addon/manager.cpp
    M src/gui/dialogs/campaign_selection.cpp
    M src/gui/dialogs/multiplayer/faction_select.cpp
    M src/gui/dialogs/multiplayer/mp_change_control.cpp
    M src/gui/dialogs/multiplayer/mp_create_game.cpp
    M src/gui/dialogs/multiplayer/mp_staging.cpp
    M src/gui/dialogs/statistics_dialog.cpp
    M src/gui/widgets/addon_list.cpp
    M src/gui/widgets/button.cpp
    M src/gui/widgets/chatbox.cpp
    M src/gui/widgets/drawing.cpp
    M src/gui/widgets/horizontal_scrollbar.cpp
    M src/gui/widgets/image.cpp
    M src/gui/widgets/label.cpp
    M src/gui/widgets/listbox.cpp
    M src/gui/widgets/matrix.cpp
    M src/gui/widgets/menu_button.cpp
    M src/gui/widgets/minimap.cpp
    M src/gui/widgets/panel.cpp
    M src/gui/widgets/progress_bar.cpp
    M src/gui/widgets/repeating_button.cpp
    M src/gui/widgets/scroll_label.cpp
    M src/gui/widgets/scrollbar_panel.cpp
    M src/gui/widgets/size_lock.cpp
    M src/gui/widgets/slider.cpp
    M src/gui/widgets/stacked_widget.cpp
    M src/gui/widgets/text_box.cpp
    M src/gui/widgets/toggle_button.cpp
    M src/gui/widgets/toggle_panel.cpp
    M src/gui/widgets/tree_view.cpp
    M src/gui/widgets/unit_preview_pane.cpp
    M src/gui/widgets/vertical_scrollbar.cpp
    M src/gui/widgets/window.cpp

  Log Message:
  -----------
  GUI2: deployed emplace_back en-masse where appropriate

Note that like in 8bf345c, using emplace_back with config_of doesn't actually allow for in-place construction,
but does allow for use of the move ctor, which is more efficient.





More information about the Commits mailing list