Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
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.
- Loading branch information
1 parent
32a9acf
commit 06f0776
Showing
3 changed files
with
26 additions
and
76 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters