[wesnoth-commits] [wesnoth/wesnoth] 06f077: Refresh help_impl.cpp using ranged-for loops and a...
Steve Cotton
noreply at github.com
Tue Aug 6 15:21:48 UTC 2019
Branch: refs/heads/master
Home: https://github.com/wesnoth/wesnoth
Commit: 06f077613401df0de95bca659802425e2263463f
https://github.com/wesnoth/wesnoth/commit/06f077613401df0de95bca659802425e2263463f
Author: Steve Cotton <steve at octalot.co.uk>
Date: 2019-08-06 (Tue, 06 Aug 2019)
Changed paths:
M src/help/help_impl.cpp
M src/help/help_impl.hpp
M src/help/help_menu.cpp
Log Message:
-----------
Refresh help_impl.cpp using ranged-for loops and avoiding raw pointers
The old copy-assignment code would have appended the topics and sections
without clearing those lists, while the new code does clear them. However, the
copy-assignment is only called after calling clear(), so this doesn't affect
the behavior.
More information about the Commits
mailing list