aboutsummaryrefslogtreecommitdiffstats
path: root/gcc-4.4.3/libstdc++-v3/include/bits/stl_queue.h
diff options
context:
space:
mode:
Diffstat (limited to 'gcc-4.4.3/libstdc++-v3/include/bits/stl_queue.h')
-rw-r--r--gcc-4.4.3/libstdc++-v3/include/bits/stl_queue.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/gcc-4.4.3/libstdc++-v3/include/bits/stl_queue.h b/gcc-4.4.3/libstdc++-v3/include/bits/stl_queue.h
index 7479469d1..0ebe2578d 100644
--- a/gcc-4.4.3/libstdc++-v3/include/bits/stl_queue.h
+++ b/gcc-4.4.3/libstdc++-v3/include/bits/stl_queue.h
@@ -249,7 +249,7 @@ _GLIBCXX_BEGIN_NAMESPACE(std)
#ifdef __GXX_EXPERIMENTAL_CXX0X__
void
- swap(queue&& __q)
+ swap(queue& __q)
{ c.swap(__q.c); }
#endif
};
@@ -550,7 +550,7 @@ _GLIBCXX_BEGIN_NAMESPACE(std)
#ifdef __GXX_EXPERIMENTAL_CXX0X__
void
- swap(priority_queue&& __pq)
+ swap(priority_queue& __pq)
{
using std::swap;
c.swap(__pq.c);