]> granicus.if.org Git - clang/commitdiff
Removed alignment argument to delete operator. It isn't needed and Visual Studio...
authorSteve Naroff <snaroff@apple.com>
Wed, 21 Jan 2009 19:34:14 +0000 (19:34 +0000)
committerSteve Naroff <snaroff@apple.com>
Wed, 21 Jan 2009 19:34:14 +0000 (19:34 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@62707 91177308-0d34-0410-b5e6-96231b3b80d8

include/clang/AST/ASTContext.h

index 9ae6c85e910325a0ad48f3500773ceb2089bbba9..12f89c3fb96dbef44b4ade8ec713b259df3f99ca 100644 (file)
@@ -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);
 }