aboutsummaryrefslogtreecommitdiff
path: root/include/llvm/IR/User.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/llvm/IR/User.h')
-rw-r--r--include/llvm/IR/User.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/llvm/IR/User.h b/include/llvm/IR/User.h
index 19d87c5c621d..850ee72a0387 100644
--- a/include/llvm/IR/User.h
+++ b/include/llvm/IR/User.h
@@ -111,7 +111,7 @@ public:
#endif
}
/// Placement delete - required by std, called if the ctor throws.
- void operator delete(void *Usr, unsigned, bool) {
+ void operator delete(void *Usr, unsigned, unsigned) {
// Note: If a subclass manipulates the information which is required to calculate the
// Usr memory pointer, e.g. NumUserOperands, the operator delete of that subclass has
// to restore the changed information to the original value, since the dtor of that class