* Fix define in gold.h
@ 2010-05-17 18:53 Ralf Wildenhues
2010-05-18 14:17 ` Ian Lance Taylor
0 siblings, 1 reply; 2+ messages in thread
From: Ralf Wildenhues @ 2010-05-17 18:53 UTC (permalink / raw)
To: binutils
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)
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: Fix define in gold.h
2010-05-17 18:53 Fix define in gold.h Ralf Wildenhues
@ 2010-05-18 14:17 ` Ian Lance Taylor
0 siblings, 0 replies; 2+ messages in thread
From: Ian Lance Taylor @ 2010-05-18 14:17 UTC (permalink / raw)
To: Ralf Wildenhues; +Cc: binutils
Ralf Wildenhues <Ralf.Wildenhues@gmx.de> writes:
> 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.
Whoops. This is OK.
Thanks.
Ian
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2010-05-18 14:17 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-05-17 18:53 Fix define in gold.h Ralf Wildenhues
2010-05-18 14:17 ` Ian Lance Taylor
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).