From e7fa5e7cb16bd39b0983386d36a88c6c3cac1bbb Mon Sep 17 00:00:00 2001 From: trav90 Date: Fri, 10 Aug 2018 15:04:21 -0500 Subject: Remove the const to fix the -Wignored-qualifiers warning with GCC 8 --- xpcom/glue/nsTHashtable.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'xpcom/glue/nsTHashtable.h') diff --git a/xpcom/glue/nsTHashtable.h b/xpcom/glue/nsTHashtable.h index 705b0294e..830f52e88 100644 --- a/xpcom/glue/nsTHashtable.h +++ b/xpcom/glue/nsTHashtable.h @@ -372,7 +372,7 @@ template PLDHashNumber nsTHashtable::s_HashKey(const void* aKey) { - return EntryType::HashKey(static_cast(aKey)); + return EntryType::HashKey(static_cast(aKey)); } template @@ -381,7 +381,7 @@ nsTHashtable::s_MatchEntry(const PLDHashEntryHdr* aEntry, const void* aKey) { return ((const EntryType*)aEntry)->KeyEquals( - static_cast(aKey)); + static_cast(aKey)); } template -- cgit v1.2.3