Fix updateTreeHashImpl

This commit is contained in:
Raúl Marín 2023-11-24 12:35:06 +01:00
parent 56b15a7294
commit 2e24639d46

View File

@ -620,7 +620,8 @@ void ASTFunction::updateTreeHashImpl(SipHash & hash_state, bool ignore_aliases)
{
hash_state.update(window_name.size());
hash_state.update(window_name);
window_definition->updateTreeHashImpl(hash_state, ignore_aliases);
if (window_definition)
window_definition->updateTreeHashImpl(hash_state, ignore_aliases);
}
}