Commit 3de7832c3dd8403b7d5abbae6a5e51b115f524c7

Authored by Henry Schreiner
Committed by GitHub
1 parent 79aaa8b8

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

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