Remove hash_map.h include from a_hash_map.h, and remove cross conversion operators.

This commit is contained in:
Lukas Tenbrink
2025-10-03 19:07:53 +02:00
parent d413181b8a
commit d6036462b1
2 changed files with 21 additions and 22 deletions

View File

@ -2508,7 +2508,7 @@ void AnimatedValuesBackup::set_data(const AHashMap<Animation::TypeHash, Animatio
}
AHashMap<Animation::TypeHash, AnimationMixer::TrackCache *, HashHasher> AnimatedValuesBackup::get_data() const {
HashMap<Animation::TypeHash, AnimationMixer::TrackCache *> ret;
AHashMap<Animation::TypeHash, AnimationMixer::TrackCache *, HashHasher> ret;
for (const KeyValue<Animation::TypeHash, AnimationMixer::TrackCache *> &E : data) {
AnimationMixer::TrackCache *track = get_cache_copy(E.value);
ERR_CONTINUE(!track); // Backup shouldn't contain tracks that cannot be copied, this is a mistake.