mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-09-08 14:17:06 +03:00
0024042: Performance improvements: Foundation Classes
Removed code under former __OPTIM_ARRAY macro
This commit is contained in:
@@ -16,45 +16,7 @@
|
||||
// purpose or non-infringement. Please see the License for the specific terms
|
||||
// and conditions governing the rights and limitations under the License.
|
||||
|
||||
#include <Standard_OutOfRange.hxx>
|
||||
#include <Standard_DimensionMismatch.hxx>
|
||||
#include <Standard_RangeError.hxx>
|
||||
#include <Standard_OutOfMemory.hxx>
|
||||
|
||||
|
||||
//=======================================================================
|
||||
//function : TCollection_HArray1
|
||||
//purpose :
|
||||
//=======================================================================
|
||||
|
||||
TCollection_HArray1::TCollection_HArray1(const Standard_Integer First,
|
||||
const Standard_Integer Last) :
|
||||
myArray(First,Last)
|
||||
{
|
||||
}
|
||||
|
||||
//=======================================================================
|
||||
//function : TCollection_HArray1
|
||||
//purpose :
|
||||
//=======================================================================
|
||||
TCollection_HArray1::TCollection_HArray1(const Standard_Integer First,
|
||||
const Standard_Integer Last,
|
||||
const ItemHArray1& V) :
|
||||
myArray(First,Last)
|
||||
{
|
||||
myArray.Init(V);
|
||||
}
|
||||
|
||||
|
||||
//=======================================================================
|
||||
//function : TCollection_HArray1
|
||||
//purpose :
|
||||
//=======================================================================
|
||||
|
||||
void TCollection_HArray1::Init(const ItemHArray1& V)
|
||||
{
|
||||
myArray.Init(V);
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user