1
0
mirror of https://git.dev.opencascade.org/repos/occt.git synced 2025-08-09 13:22:24 +03:00

0024042: Performance improvements: Foundation Classes

Removed code under former __OPTIM_ARRAY macro
This commit is contained in:
Roman Lygin
2013-07-04 14:31:57 +04:00
parent 4bee43a928
commit 1145e2bc72
14 changed files with 245 additions and 264 deletions

View File

@@ -102,6 +102,9 @@ template<class TheItemType> class NCollection_BaseCollection
//! Destructor - must be implemented to release the memory
virtual ~NCollection_BaseCollection (void) {}
//! Returns attached allocator
const Handle(NCollection_BaseAllocator)& Allocator() const { return myAllocator; }
protected:
// --------- PROTECTED METHOD -----------
const Handle(NCollection_BaseAllocator)& IterAllocator(void) const