Skip to content

Commit

Permalink
Merge pull request #9047 from burqen/3.2-fix-compilation
Browse files Browse the repository at this point in the history
Fix compilation error
  • Loading branch information
burqen committed Mar 16, 2017
2 parents f1054de + 5345667 commit e22b815
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -176,7 +176,7 @@ private boolean hasCrashedGSPP( TreeNode<?,?> treeNode, PageCursor cursor ) thro
do
{
hasCrashed =
hasCrashedGSPP( cursor, TreeNode.BYTE_POS_NEWGEN ) ||
hasCrashedGSPP( cursor, TreeNode.BYTE_POS_HEIR ) ||
hasCrashedGSPP( cursor, TreeNode.BYTE_POS_LEFTSIBLING ) ||
hasCrashedGSPP( cursor, TreeNode.BYTE_POS_RIGHTSIBLING );

Expand Down Expand Up @@ -209,7 +209,7 @@ private boolean hasCrashedGSP( PageCursor cursor, int offset )

private void cleanTreeNode( TreeNode<?,?> treeNode, PageCursor cursor, AtomicInteger cleanedPointers )
{
cleanCrashedGSPP( cursor, TreeNode.BYTE_POS_NEWGEN, cleanedPointers );
cleanCrashedGSPP( cursor, TreeNode.BYTE_POS_HEIR, cleanedPointers );
cleanCrashedGSPP( cursor, TreeNode.BYTE_POS_LEFTSIBLING, cleanedPointers );
cleanCrashedGSPP( cursor, TreeNode.BYTE_POS_RIGHTSIBLING, cleanedPointers );

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -424,7 +424,7 @@ public int offset( TreeNode node )
@Override
public int offset( TreeNode node )
{
return TreeNode.BYTE_POS_NEWGEN;
return TreeNode.BYTE_POS_HEIR;
}
}
}
Expand Down

0 comments on commit e22b815

Please sign in to comment.