This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
Fix define in gold.h
- From: Ralf Wildenhues <Ralf dot Wildenhues at gmx dot de>
- To: binutils at sourceware dot org
- Date: Mon, 17 May 2010 20:53:15 +0200
- Subject: Fix define in gold.h
I found this apparent typo by inspection only, not by an actual compile
error; thus, I don't have a handy way to test it either, but it should
be obvious. The error seems to have been introduced on 2009-08-05.
OK to commit?
Thanks,
Ralf
gold/ChangeLog:
2010-05-16 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
* gold.h (Unordered_multimap, Unordered_map): Fix defines for
when neither HAVE_TR1_UNORDERED_MAP nor HAVE_EXT_HASH_MAP are set.
diff --git a/gold/gold.h b/gold/gold.h
index 5c98de0..04b6911 100644
--- a/gold/gold.h
+++ b/gold/gold.h
@@ -121,7 +121,7 @@ struct hash<T*>
#define Unordered_set std::set
#define Unordered_map std::map
-#define Unordered_map std::multimap
+#define Unordered_multimap std::multimap
#define reserve_unordered_map(map, n)