From: oan Date: Thu, 25 Aug 2016 13:46:13 +0000 (+0300) Subject: 0027810: Compilation error on NCollection_UBTree::Kill() X-Git-Tag: V7_1_0_beta~172 X-Git-Url: http://git.dev.opencascade.org/gitweb/?a=commitdiff_plain;h=1ede545fefc8a3e0de8cd39f817f5c0fd667f5a7;p=occt-copy.git 0027810: Compilation error on NCollection_UBTree::Kill() --- diff --git a/src/NCollection/NCollection_UBTree.hxx b/src/NCollection/NCollection_UBTree.hxx index e39371a140..8074a78267 100644 --- a/src/NCollection/NCollection_UBTree.hxx +++ b/src/NCollection/NCollection_UBTree.hxx @@ -214,7 +214,7 @@ public: * This method should be used instead of operator delete. */ static void delNode (TreeNode * theNode, - Handle(NCollection_BaseAllocator)& theAlloc) + const Handle(NCollection_BaseAllocator)& theAlloc) { if (theNode) { if (theNode -> myChildren) {