1
0
mirror of https://github.com/CLIUtils/CLI11.git synced 2025-05-05 06:33:52 +00:00

Remove C++14 comment, since it is not true atm

[skip ci]
This commit is contained in:
Henry Schreiner 2017-10-27 15:55:10 -04:00 committed by GitHub
parent 79aaa8b8d7
commit 3de7832c3d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -19,10 +19,6 @@ void setup_subcommand_a(CLI::App &app) {
// Set the run function as callback to be called when this subcommand is issued.
sub->set_callback([opt]() { run_subcommand_a(*opt); });
// Note: In C++14, you could make a unique pointer, then pass it into the lambda function via
// a move. That's slightly more elegant, but you won't be able to see the runtime difference
// in skipping one mutex check for shared_ptr.
}
/// The function that runs our code.