From: David Blaikie Date: Wed, 4 Mar 2015 07:35:04 +0000 (+0000) Subject: use = default instead of {} X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=5651a7bd67d465ea5c10c3f0a949c442bef36106;p=oota-llvm.git use = default instead of {} git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@231223 91177308-0d34-0410-b5e6-96231b3b80d8 --- 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.