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

Unified Diff: sky/engine/wtf/Noncopyable.h

Issue 673403002: Remove compiler feature detection for = delete (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: Don't remove #define for FINAL Created 6 years, 2 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 | « sky/engine/wtf/Compiler.h ('k') | sky/engine/wtf/NullPtr.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sky/engine/wtf/Noncopyable.h
diff --git a/sky/engine/wtf/Noncopyable.h b/sky/engine/wtf/Noncopyable.h
index 4be30c427201f334b322df259e4c51ab34e64710..f3321e883319663994acc322f3ef454cc121c195 100644
--- a/sky/engine/wtf/Noncopyable.h
+++ b/sky/engine/wtf/Noncopyable.h
@@ -23,16 +23,9 @@
#include "wtf/Compiler.h"
-#if COMPILER_SUPPORTS(CXX_DELETED_FUNCTIONS)
- #define WTF_MAKE_NONCOPYABLE(ClassName) \
- private: \
- ClassName(const ClassName&) = delete; \
- ClassName& operator=(const ClassName&) = delete;
-#else
- #define WTF_MAKE_NONCOPYABLE(ClassName) \
- private: \
- ClassName(const ClassName&); \
- ClassName& operator=(const ClassName&)
-#endif
+#define WTF_MAKE_NONCOPYABLE(ClassName) \
+ private: \
+ ClassName(const ClassName&) = delete; \
+ ClassName& operator=(const ClassName&) = delete;
#endif // WTF_Noncopyable_h
« no previous file with comments | « sky/engine/wtf/Compiler.h ('k') | sky/engine/wtf/NullPtr.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698