Fix define in gold.h
Ralf Wildenhues
Ralf.Wildenhues@gmx.de
Mon May 17 18:53:00 GMT 2010
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)
More information about the Binutils
mailing list