diff options
author | Eli Friedman <eli.friedman@gmail.com> | 2010-08-19 06:13:01 +0000 |
---|---|---|
committer | Eli Friedman <eli.friedman@gmail.com> | 2010-08-19 06:13:01 +0000 |
commit | a87cdc03f4014545a8440110c1f4f68701100576 (patch) | |
tree | fc58ad225e4a3379172d878876badc3af4d8ae7e | |
parent | 34fd628d22f54baddf30cf80c401b2f862a31b23 (diff) |
Remove default argument from operator delete; per report on cfe-dev, fixes
compilation with MSVC. Note that on other platforms, the operator delete in
question is never used because we compile with -fno-exceptions.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@111514 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r-- | include/clang/AST/Attr.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/clang/AST/Attr.h b/include/clang/AST/Attr.h index 4242493024..62ca49fbf3 100644 --- a/include/clang/AST/Attr.h +++ b/include/clang/AST/Attr.h @@ -78,7 +78,7 @@ public: return ::operator new(Bytes, C, Alignment); } void operator delete(void *Ptr, ASTContext &C, - size_t Alignment = 16) throw() { + size_t Alignment) throw() { return ::operator delete(Ptr, C, Alignment); } |