Remove the const to fix the -Wignored-qualifiers warning with GCC 8

This commit is contained in:
trav90 2018-08-10 15:04:21 -05:00 • committed by Roy Tam
commit a52bf9e82b
4 changed files with 5 additions and 5 deletions

View file

@ -32,7 +32,7 @@ struct nsDiskCacheEntry {
mKeySize + mMetaDataSize;
}
char* Key() { return reinterpret_cast<char*const>(this) +
char* Key() { return reinterpret_cast<char*>(this) +
sizeof(nsDiskCacheEntry);
}