If a resize is pending (load_factor() > max_load_factor()) when serialized, deserialization will fail. This change makes the check for corrupted (incorrectly serialized) max_load_factor less strict, but fixes the issue.
Another option could be to force a rehash before deserializating.
If a resize is pending (load_factor() > max_load_factor()) when serialized, deserialization will fail. This change makes the check for corrupted (incorrectly serialized) max_load_factor less strict, but fixes the issue.
Another option could be to force a rehash before deserializating.