Commit 4e4d27aa by Paolo Carlini Committed by Paolo Carlini

future (swap(packaged_task<>&, packaged_task<>&)): Fix typo in last commit.

2010-02-05  Paolo Carlini  <paolo.carlini@oracle.com>

	* include/std/future (swap(packaged_task<>&, packaged_task<>&)): Fix
	typo in last commit.

From-SVN: r156525
parent 126edba2
2010-02-05 Paolo Carlini <paolo.carlini@oracle.com> 2010-02-05 Paolo Carlini <paolo.carlini@oracle.com>
* include/std/future (swap(packaged_task<>&, packaged_task<>&)): Fix
typo in last commit.
2010-02-05 Paolo Carlini <paolo.carlini@oracle.com>
* include/std/future (swap(packaged_task<>&, packaged_task<>&), * include/std/future (swap(packaged_task<>&, packaged_task<>&),
swap(promise<>&, promise<>&)): Add; minor formatting fixes. swap(promise<>&, promise<>&)): Add; minor formatting fixes.
* testsuite/30_threads/packaged_task/cons/assign_neg.cc: Adjust * testsuite/30_threads/packaged_task/cons/assign_neg.cc: Adjust
......
...@@ -1262,7 +1262,7 @@ namespace std ...@@ -1262,7 +1262,7 @@ namespace std
}; };
template<typename _Res, typename... _ArgTypes> template<typename _Res, typename... _ArgTypes>
void inline inline void
swap(packaged_task<_Res(_ArgTypes...)>& __x, swap(packaged_task<_Res(_ArgTypes...)>& __x,
packaged_task<_Res(_ArgTypes...)>& __y) packaged_task<_Res(_ArgTypes...)>& __y)
{ __x.swap(__y); } { __x.swap(__y); }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment