0026593: Coding rules - revert compatibility of NCollection_CellFilter constructor with old code

Restored old constructor and old behavior where possible.

Minor correction.
This commit is contained in:
aml
2015-09-03 15:05:34 +03:00
committed by bugmaster
parent 876ca54f0a
commit a7653f4f55
7 changed files with 18 additions and 8 deletions

View File

@@ -284,7 +284,7 @@ void BRepBuilderAPI_FastSewing::Perform(void)
Standard_Real aRange = Compute3DRange();
Handle(NCollection_IncAllocator) anAlloc = new NCollection_IncAllocator;
NCollection_CellFilter<NodeInspector>
aCells(NodeInspector::Dimension, Max(myTolerance, aRange/IntegerLast()), anAlloc);
aCells(Max(myTolerance, aRange/IntegerLast()), anAlloc);
for(Standard_Integer i = myFaceVec.Lower(); i <= myFaceVec.Upper(); i++)
{