mirror of
https://github.com/Open-Cascade-SAS/OCCT.git
synced 2026-05-25 00:57:38 +08:00
0022815: Missing delete operator for placement new
This commit is contained in:
@@ -15,11 +15,6 @@
|
||||
#include <Standard_NoSuchObject.hxx>
|
||||
#endif
|
||||
|
||||
#ifdef WNT
|
||||
// Disable the warning "operator new unmatched by delete"
|
||||
#pragma warning (disable:4291)
|
||||
#endif
|
||||
|
||||
/**
|
||||
* Purpose: A stack is a structure where item can be added and
|
||||
* removed from the top. Like a stack of plates in a
|
||||
@@ -135,8 +130,4 @@ template <class TheItemType> class NCollection_Stack
|
||||
|
||||
};
|
||||
|
||||
#ifdef WNT
|
||||
#pragma warning (default:4291)
|
||||
#endif
|
||||
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user