[wesnoth-commits] [wesnoth/wesnoth] 0f68d9: GUI2/Stacked Widget: no need to keep grid builders...

Charles Dang noreply at github.com
Thu Dec 3 13:05:32 UTC 2020


  Branch: refs/heads/master
  Home:   https://github.com/wesnoth/wesnoth
  Commit: 0f68d936dfe68c4ec6737ad22f6cd81ec8ab5516
      https://github.com/wesnoth/wesnoth/commit/0f68d936dfe68c4ec6737ad22f6cd81ec8ab5516
  Author: Charles Dang <exodia339 at gmail.com>
  Date:   2020-12-03 (Thu, 03 Dec 2020)

  Changed paths:
    M src/gui/widgets/stacked_widget.cpp
    M src/gui/widgets/stacked_widget.hpp

  Log Message:
  -----------
  GUI2/Stacked Widget: no need to keep grid builders in shared_ptrs

The stacked_widget builder's grid builder stack is only passed to stacked_widget::finalize.
As of 4ada05a2cf74227ec460010db52acf525dddfcf6, the builder_grid is now passed by reference
to the generator's create functions rather than passing another shared_ptr.





More information about the Commits mailing list