This website requires JavaScript.
Explore
Help
Sign In
mirrors
/
CLI11
Watch
1
Star
0
Fork
0
You've already forked CLI11
mirror of
https://github.com/CLIUtils/CLI11.git
synced
2025-05-02 21:53:51 +00:00
Code
Issues
Releases
Wiki
Activity
CLI11
/
include
History
Philip Top
45496a836a
The add subcommand function was not exception safe. It added the subcommand to the vector before checking the already added option. This would result in duplicate subcommands being in place in the subcommands_ vector. The modifications make it exception safe and remove what I think was an unnecessary check for pointer duplication, that as far as I can tell was always false since it was comparing a newly created pointer directly to previously created ones.
2019-01-25 21:53:10 +01:00
..
CLI
The add subcommand function was not exception safe. It added the subcommand to the vector before checking the already added option. This would result in duplicate subcommands being in place in the subcommands_ vector. The modifications make it exception safe and remove what I think was an unnecessary check for pointer duplication, that as far as I can tell was always false since it was comparing a newly created pointer directly to previously created ones.
2019-01-25 21:53:10 +01:00