mirror of
https://github.com/libretro/scummvm.git
synced 2024-12-02 15:16:46 +00:00
BUILD: Fix GCC bogus warning by removing const
GCC emits "warning: type qualifiers ignored on cast result type" when some types are used for HashMap because of the const modifier. This applies especially to pointer-to-member-functions. The const there is not really useful as it only prevents unfortunate object editions.
This commit is contained in:
parent
3827000fe1
commit
5cc574a695
@ -114,7 +114,7 @@ private:
|
||||
#endif
|
||||
|
||||
/** Default value, returned by the const getVal. */
|
||||
const Val _defaultVal;
|
||||
Val _defaultVal;
|
||||
|
||||
Node **_storage; ///< hashtable of size arrsize.
|
||||
size_type _mask; ///< Capacity of the HashMap minus one; must be a power of two of minus one
|
||||
|
Loading…
Reference in New Issue
Block a user