forked from OSchip/llvm-project
Removed alignment argument to delete operator. It isn't needed and Visual Studio is offended by it.
llvm-svn: 62707
This commit is contained in:
parent
050dd11e90
commit
948f18bb82
|
@ -589,7 +589,7 @@ inline void *operator new(size_t Bytes, clang::ASTContext &C,
|
|||
/// invoking it directly; see the new operator for more details. This operator
|
||||
/// is called implicitly by the compiler if a placement new expression using
|
||||
/// the ASTContext throws in the object constructor.
|
||||
inline void operator delete(void *Ptr, clang::ASTContext &C, size_t = 16)
|
||||
inline void operator delete(void *Ptr, clang::ASTContext &C)
|
||||
throw () {
|
||||
C.getAllocator().Deallocate(Ptr);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue