mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-08-19 13:40:49 +03:00
0025112: Undo of modification of the attribute TDataStd_IntPackedMap works wrong
Test case for issue #25112
This commit is contained in:
@@ -1215,6 +1215,8 @@ Standard_Boolean TColStd_PackedMapOfInteger::IsSubset (const TColStd_PackedMapOf
|
||||
// Find the corresponding block in the 2nd map
|
||||
const TColStd_intMapNode * p2 =
|
||||
aData2 [HashCode (aKeyInt, nBuckets2)];
|
||||
if (!p2)
|
||||
return Standard_False;
|
||||
while (p2) {
|
||||
if ( p2->IsEqual(aKeyInt) ) {
|
||||
if ( p1->Data() & ~p2->Data() ) // at least one bit set in p1 is not set in p2
|
||||
|
Reference in New Issue
Block a user