diff --git a/include/boost/thread/executors/executor_adaptor.hpp b/include/boost/thread/executors/executor_adaptor.hpp index 22a8f642..ebe4e347 100644 --- a/include/boost/thread/executors/executor_adaptor.hpp +++ b/include/boost/thread/executors/executor_adaptor.hpp @@ -97,7 +97,6 @@ namespace executors */ void submit(BOOST_THREAD_RV_REF(work) closure) { return ex.submit(boost::move(closure)); - //return ex.submit(boost::forward(closure)); // todo check why this doesn't work } // void submit(work & closure) { // return ex.submit(closure); diff --git a/include/boost/thread/executors/generic_executor_ref.hpp b/include/boost/thread/executors/generic_executor_ref.hpp index 31607c3c..57609c91 100644 --- a/include/boost/thread/executors/generic_executor_ref.hpp +++ b/include/boost/thread/executors/generic_executor_ref.hpp @@ -69,7 +69,6 @@ namespace boost * Whatever exception that can be throw while storing the closure. */ void submit(BOOST_THREAD_RV_REF(work) closure) { - //ex.submit(boost::forward(closure)); // todo check why this doesn't work ex.submit(boost::move(closure)); } // void submit(work& closure) {