aboutsummaryrefslogtreecommitdiffstats
path: root/include/llvm/Support/Format.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/llvm/Support/Format.h')
-rw-r--r--include/llvm/Support/Format.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/llvm/Support/Format.h b/include/llvm/Support/Format.h
index 682c5a9..4319a3b 100644
--- a/include/llvm/Support/Format.h
+++ b/include/llvm/Support/Format.h
@@ -37,7 +37,8 @@ namespace llvm {
class format_object_base {
protected:
const char *Fmt;
- ~format_object_base() {} // Disallow polymorphic deletion.
+ ~format_object_base() = default; // Disallow polymorphic deletion.
+ format_object_base(const format_object_base &) = default;
virtual void home(); // Out of line virtual method.
/// Call snprintf() for this object, on the given buffer and size.