From: Steve Naroff Date: Wed, 21 Jan 2009 19:34:14 +0000 (+0000) Subject: Removed alignment argument to delete operator. It isn't needed and Visual Studio... X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=7106a3aea3cdbf409aed3e32235d909a47e25501;p=clang Removed alignment argument to delete operator. It isn't needed and Visual Studio is offended by it. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@62707 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/include/clang/AST/ASTContext.h b/include/clang/AST/ASTContext.h index 9ae6c85e91..12f89c3fb9 100644 --- a/include/clang/AST/ASTContext.h +++ b/include/clang/AST/ASTContext.h @@ -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); }