aboutsummaryrefslogtreecommitdiff
path: root/third_party/chromium/base/macros.h
diff options
context:
space:
mode:
Diffstat (limited to 'third_party/chromium/base/macros.h')
-rw-r--r--third_party/chromium/base/macros.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/third_party/chromium/base/macros.h b/third_party/chromium/base/macros.h
index 46ee1da..2bbf7e1 100644
--- a/third_party/chromium/base/macros.h
+++ b/third_party/chromium/base/macros.h
@@ -20,11 +20,11 @@
#define DISALLOW_ASSIGN(TypeName) \
void operator=(const TypeName&) = delete
-// A macro to disallow the copy constructor and operator= functions
-// This should be used in the private: declarations for a class
+// A macro to disallow the 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&); \
- void operator=(const TypeName&)
+ TypeName(const TypeName&) = delete; \
+ void operator=(const TypeName&) = delete
// A macro to disallow all the implicit constructors, namely the
// default constructor, copy constructor and operator= functions.