mirror of
https://github.com/boostorg/thread.git
synced 2026-01-26 19:12:11 +00:00
remove todo comments.
This commit is contained in:
@@ -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<work>(closure)); // todo check why this doesn't work
|
||||
}
|
||||
// void submit(work & closure) {
|
||||
// return ex.submit(closure);
|
||||
|
||||
@@ -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<work>(closure)); // todo check why this doesn't work
|
||||
ex.submit(boost::move(closure));
|
||||
}
|
||||
// void submit(work& closure) {
|
||||
|
||||
Reference in New Issue
Block a user