Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(2179)

Unified Diff: Source/wtf/dtoa/utils.h

Issue 1211403004: Temporarily don't redefine DISALLOW_IMPLICIT_CONSTRUCTORS in Blink. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 5 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 {
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698