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

Unified Diff: mojo/public/cpp/system/macros.h

Issue 617503003: Mojo: MOJO_OVERRIDE -> override in mojo/. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebased Created 6 years, 3 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
Index: mojo/public/cpp/system/macros.h
diff --git a/mojo/public/cpp/system/macros.h b/mojo/public/cpp/system/macros.h
index f48c3477dcceb3212f9497cda59d844ed661a0ca..a6551480481f9c88daf197a7d963c0236ff1a0c4 100644
--- a/mojo/public/cpp/system/macros.h
+++ b/mojo/public/cpp/system/macros.h
@@ -11,14 +11,11 @@
// Mojo C++ API users can assume that mojo/public/cpp/system/macros.h
// includes mojo/public/c/system/macros.h.
+// TODO(vtl): Get rid of this once all users have been eliminated.
// Annotate a virtual method indicating it must be overriding a virtual method
// in the parent class. Use like:
// virtual void foo() OVERRIDE;
-#if defined(_MSC_VER) || defined(__clang__)
#define MOJO_OVERRIDE override
-#else
-#define MOJO_OVERRIDE
-#endif
// A macro to disallow the copy constructor and operator= functions.
// This should be used in the private: declarations for a class.
« no previous file with comments | « mojo/public/cpp/environment/lib/default_async_waiter.cc ('k') | mojo/public/cpp/system/tests/macros_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698