From 409258a8a0dbf5f43916e09e8347ab66b4fcda7b Mon Sep 17 00:00:00 2001 From: E2hang Date: Sun, 10 Aug 2025 18:18:31 +0800 Subject: [PATCH] altered --- BinaryTree/priorityQueue/maxHBLT/maxHblt.h | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/BinaryTree/priorityQueue/maxHBLT/maxHblt.h b/BinaryTree/priorityQueue/maxHBLT/maxHblt.h index 63a7205..fbbde52 100644 --- a/BinaryTree/priorityQueue/maxHBLT/maxHblt.h +++ b/BinaryTree/priorityQueue/maxHBLT/maxHblt.h @@ -100,8 +100,7 @@ void maxHblt::display() { //重要 -> 合并两个子树,把y合并进入x //* &x,指针的引用,表示指针可以修改(传入函数) template -void maxHblt::meld(binaryTreeNode>*& x, - binaryTreeNode>*& y) { +void maxHblt::meld(binaryTreeNode>*& x, binaryTreeNode>*& y) { if (y == nullptr) return; if (x == nullptr) { x = y;