From 3de7832c3dd8403b7d5abbae6a5e51b115f524c7 Mon Sep 17 00:00:00 2001 From: Henry Schreiner Date: Fri, 27 Oct 2017 15:55:10 -0400 Subject: [PATCH] Remove C++14 comment, since it is not true atm [skip ci] --- examples/subcom_in_files/subcommand_a.cpp | 4 ---- 1 file changed, 4 deletions(-) diff --git a/examples/subcom_in_files/subcommand_a.cpp b/examples/subcom_in_files/subcommand_a.cpp index ff6a6526..9cd1c003 100644 --- a/examples/subcom_in_files/subcommand_a.cpp +++ b/examples/subcom_in_files/subcommand_a.cpp @@ -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.