Bug fix in detection of lack of mutations in a subtree.
This commit is contained in:
parent
1e11353603
commit
88e48e9a3e
|
@ -533,7 +533,7 @@ private:
|
||||||
// subtree but have no changes in it
|
// subtree but have no changes in it
|
||||||
MutationBufferT::const_iterator iMutationBoundaryNext = iMutationBoundary;
|
MutationBufferT::const_iterator iMutationBoundaryNext = iMutationBoundary;
|
||||||
++iMutationBoundaryNext;
|
++iMutationBoundaryNext;
|
||||||
if(iMutationBoundaryNext == iMutationBoundaryEnd && iMutationBoundaryNext->second.noChanges()) {
|
if(iMutationBoundaryNext == iMutationBoundaryEnd && iMutationBoundary->second.noChanges()) {
|
||||||
debug_printf("%s no changes because sole mutation range was empty\n", printPrefix.c_str());
|
debug_printf("%s no changes because sole mutation range was empty\n", printPrefix.c_str());
|
||||||
return VersionedChildrenT({ {0,{{lowerBoundKey,root}}} });
|
return VersionedChildrenT({ {0,{{lowerBoundKey,root}}} });
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue