Index: Source/wtf/dtoa/utils.h |
diff --git a/Source/wtf/dtoa/utils.h b/Source/wtf/dtoa/utils.h |
index 51dce3db994eda662ddd9aee806f599ec2961cd4..335769102ee86fb7cacc25984ac857b82ad77d56 100644 |
--- a/Source/wtf/dtoa/utils.h |
+++ b/Source/wtf/dtoa/utils.h |
@@ -104,9 +104,11 @@ void operator=(const TypeName&) |
// This should be used in the private: declarations for a class |
// that wants to prevent anyone from instantiating it. This is |
// especially useful for classes containing only static methods. |
+#ifndef DISALLOW_IMPLICIT_CONSTRUCTORS |
#define DISALLOW_IMPLICIT_CONSTRUCTORS(TypeName) \ |
-TypeName(); \ |
+TypeName() = delete; \ |
DISALLOW_COPY_AND_ASSIGN(TypeName) |
+#endif // DISALLOW_IMPLICIT_CONSTRUCTORS |
namespace WTF { |