aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJason Merrill <jason@yorick.cygnus.com>1997-11-08 08:51:15 +0000
committerJason Merrill <jason@gcc.gnu.org>1997-11-08 03:51:15 -0500
commitc64e3181fe90fed986f489512dfac2ed1a3eeaeb (patch)
tree9841440ef79fda4aee7a9a20f501202022d7728d
parentbd871063c593eb5fc415b0f372197b3660e0c2f7 (diff)
downloadgcc-c64e3181fe90fed986f489512dfac2ed1a3eeaeb.zip
gcc-c64e3181fe90fed986f489512dfac2ed1a3eeaeb.tar.gz
gcc-c64e3181fe90fed986f489512dfac2ed1a3eeaeb.tar.bz2
fix typo
From-SVN: r16364
-rw-r--r--libstdc++/stl/ChangeLog4
-rw-r--r--libstdc++/stl/stl_hash_set.h1
2 files changed, 5 insertions, 0 deletions
diff --git a/libstdc++/stl/ChangeLog b/libstdc++/stl/ChangeLog
index b6804d0..c9aff27 100644
--- a/libstdc++/stl/ChangeLog
+++ b/libstdc++/stl/ChangeLog
@@ -1,3 +1,7 @@
+Sat Nov 8 00:45:17 1997 Jason Merrill <jason@yorick.cygnus.com>
+
+ * stl_hash_set.h (swap): Fix typo.
+
Fri Nov 7 10:27:40 1997 Jason Merrill <jason@yorick.cygnus.com>
* stl_hashtable.h: Fix typo.
diff --git a/libstdc++/stl/stl_hash_set.h b/libstdc++/stl/stl_hash_set.h
index 80159da..1ba87c4 100644
--- a/libstdc++/stl/stl_hash_set.h
+++ b/libstdc++/stl/stl_hash_set.h
@@ -324,6 +324,7 @@ inline bool operator==(const hash_multiset<Val, HashFcn, EqualKey, Alloc>& hs1,
template <class Val, class HashFcn, class EqualKey, class Alloc>
inline void swap(hash_multiset<Val, HashFcn, EqualKey, Alloc>& hs1,
hash_multiset<Val, HashFcn, EqualKey, Alloc>& hs2)
+{
hs1.swap(hs2);
}