[llvm] r231223 - use = default instead of {}
David Blaikie
dblaikie at gmail.com
Tue Mar 3 23:35:04 PST 2015
Author: dblaikie
Date: Wed Mar 4 01:35:04 2015
New Revision: 231223
URL: http://llvm.org/viewvc/llvm-project?rev=231223&view=rev
Log:
use = default instead of {}
Modified:
llvm/trunk/include/llvm/Support/Format.h
Modified: llvm/trunk/include/llvm/Support/Format.h
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/include/llvm/Support/Format.h?rev=231223&r1=231222&r2=231223&view=diff
==============================================================================
--- llvm/trunk/include/llvm/Support/Format.h (original)
+++ llvm/trunk/include/llvm/Support/Format.h Wed Mar 4 01:35:04 2015
@@ -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.
More information about the llvm-commits
mailing list