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

0031020: Coding - invalid inline usage in BRepBlend_AppSurface

BRepBlend_AppSurface and some other classes have been corrected to avoid inlining member functions in .cxx code.
This commit is contained in:
msv
2019-10-01 23:06:35 +03:00
committed by apn
parent 8ba3d978db
commit 746cb7c328
6 changed files with 14 additions and 15 deletions

View File

@@ -20,12 +20,6 @@
#include <Standard_OutOfRange.hxx>
#include <Standard_DomainError.hxx>
inline void NCollection_BaseSequence::Nullify ()
{
myFirstItem = myLastItem = myCurrentItem = NULL;
myCurrentIndex = mySize = 0;
}
//=======================================================================
//function : ClearSeq
//purpose : removes all items from the current sequence

View File

@@ -163,7 +163,12 @@ public:
//
Standard_EXPORT NCollection_BaseSequence
(const NCollection_BaseSequence& Other);
inline void Nullify ();
void Nullify()
{
myFirstItem = myLastItem = myCurrentItem = NULL;
myCurrentIndex = mySize = 0;
}
friend class Iterator;
};