Index: src/base/macros.h |
diff --git a/src/base/macros.h b/src/base/macros.h |
index 49ca386aabd7c788e59d2ab4c88277be55b70eb1..e98b4f569f2bab5bc91d691293089b12254ce157 100644 |
--- a/src/base/macros.h |
+++ b/src/base/macros.h |
@@ -234,9 +234,9 @@ V8_INLINE Dest bit_cast(Source const& source) { |
// A macro to disallow the evil copy constructor and operator= functions |
// This should be used in the private: declarations for a class |
-#define DISALLOW_COPY_AND_ASSIGN(TypeName) \ |
- TypeName(const TypeName&) V8_DELETE; \ |
- void operator=(const TypeName&) V8_DELETE |
+#define DISALLOW_COPY_AND_ASSIGN(TypeName) \ |
+ TypeName(const TypeName&) = delete; \ |
+ void operator=(const TypeName&) = delete |
// A macro to disallow all the implicit constructors, namely the |
@@ -245,8 +245,8 @@ V8_INLINE Dest bit_cast(Source const& source) { |
// 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. |
-#define DISALLOW_IMPLICIT_CONSTRUCTORS(TypeName) \ |
- TypeName() V8_DELETE; \ |
+#define DISALLOW_IMPLICIT_CONSTRUCTORS(TypeName) \ |
+ TypeName() = delete; \ |
DISALLOW_COPY_AND_ASSIGN(TypeName) |