1
0
mirror of https://github.com/chylex/Brotli-Builder.git synced 2025-05-11 20:34:03 +02:00

Fix typo in MultiTrie equality checking, causing broken cache

This commit is contained in:
chylex 2019-10-06 07:08:45 +02:00
parent 073c5261fd
commit 53ed337a56

View File

@ -49,8 +49,8 @@ namespace BrotliLib.Collections.Trie{
return false;
}
var children1 = Values;
var children2 = node.Values;
var children1 = children;
var children2 = node.children;
if (!((children1 == null && children2 == null) || (children1 != null && children2 != null && children1.SequenceEqual(children2)))){
return false;