Changeset 93690 in vbox for trunk/src/VBox
- Timestamp:
- Feb 11, 2022 10:10:11 AM (3 years ago)
- Location:
- trunk/src/VBox/Runtime/common/table
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Runtime/common/table/avl_Base.cpp.h
r93115 r93690 320 320 else 321 321 break; 322 Assert(pCurNode->uchHeight == RT_MAX(AVL_HEIGHTOF(KAVL_GET_POINTER_NULL(&pCurNode->pLeft)), 323 AVL_HEIGHTOF(KAVL_GET_POINTER_NULL(&pCurNode->pRight))) + 1); 322 324 323 325 kASSERT(AVLStack.cEntries < KAVL_MAX_STACK); … … 411 413 else 412 414 return NULL; 415 Assert(pDeleteNode->uchHeight == RT_MAX(AVL_HEIGHTOF(KAVL_GET_POINTER_NULL(&pDeleteNode->pLeft)), 416 AVL_HEIGHTOF(KAVL_GET_POINTER_NULL(&pDeleteNode->pRight))) + 1); 413 417 414 418 kASSERT(AVLStack.cEntries < KAVL_MAX_STACK); -
trunk/src/VBox/Runtime/common/table/avl_DoWithAll.cpp.h
r93115 r93690 72 72 73 73 /* center */ 74 Assert(pNode->uchHeight == RT_MAX(AVL_HEIGHTOF(KAVL_GET_POINTER_NULL(&pNode->pLeft)), 75 AVL_HEIGHTOF(KAVL_GET_POINTER_NULL(&pNode->pRight))) + 1); 74 76 rc = pfnCallBack(pNode, pvParam); 75 77 if (rc != VINF_SUCCESS) … … 112 114 113 115 /* center */ 116 Assert(pNode->uchHeight == RT_MAX(AVL_HEIGHTOF(KAVL_GET_POINTER_NULL(&pNode->pLeft)), 117 AVL_HEIGHTOF(KAVL_GET_POINTER_NULL(&pNode->pRight))) + 1); 114 118 rc = pfnCallBack(pNode, pvParam); 115 119 if (rc != VINF_SUCCESS)
Note:
See TracChangeset
for help on using the changeset viewer.