This is the mail archive of the binutils@sourceware.org mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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)
 


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]