From 4e4d27aae5e823e2c443de54871a357fcf760861 Mon Sep 17 00:00:00 2001 From: Paolo Carlini Date: Fri, 5 Feb 2010 17:25:12 +0000 Subject: [PATCH] future (swap(packaged_task<>&, packaged_task<>&)): Fix typo in last commit. 2010-02-05 Paolo Carlini * include/std/future (swap(packaged_task<>&, packaged_task<>&)): Fix typo in last commit. From-SVN: r156525 --- libstdc++-v3/ChangeLog | 5 +++++ libstdc++-v3/include/std/future | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/libstdc++-v3/ChangeLog b/libstdc++-v3/ChangeLog index 5468a0eb456d..410a15cea5d9 100644 --- a/libstdc++-v3/ChangeLog +++ b/libstdc++-v3/ChangeLog @@ -1,3 +1,8 @@ +2010-02-05 Paolo Carlini + + * include/std/future (swap(packaged_task<>&, packaged_task<>&)): Fix + typo in last commit. + 2010-02-05 Paolo Carlini * include/std/future (swap(packaged_task<>&, packaged_task<>&), diff --git a/libstdc++-v3/include/std/future b/libstdc++-v3/include/std/future index b7b244988ac9..2f1eedc91ee0 100644 --- a/libstdc++-v3/include/std/future +++ b/libstdc++-v3/include/std/future @@ -1262,7 +1262,7 @@ namespace std }; template - void inline + inline void swap(packaged_task<_Res(_ArgTypes...)>& __x, packaged_task<_Res(_ArgTypes...)>& __y) { __x.swap(__y); }