diff --git a/include/llvm/Support/Format.h b/include/llvm/Support/Format.h index 0bb8cbbc6e6..4319a3ba274 100644 --- a/include/llvm/Support/Format.h +++ b/include/llvm/Support/Format.h @@ -37,8 +37,8 @@ namespace llvm { class format_object_base { protected: const char *Fmt; - ~format_object_base() {} // Disallow polymorphic deletion. - format_object_base(const format_object_base&) = default; + ~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.