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:
@@ -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
|
||||
|
@@ -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;
|
||||
};
|
||||
|
||||
|
Reference in New Issue
Block a user