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

Unified Diff: base/memory/scoped_ptr_unittest.cc

Issue 10004001: Add virtual and OVERRIDE to base/ implementation files (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Win Fix -> Missing header Created 8 years, 8 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 | « base/memory/linked_ptr_unittest.cc ('k') | base/memory/scoped_vector_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: base/memory/scoped_ptr_unittest.cc
diff --git a/base/memory/scoped_ptr_unittest.cc b/base/memory/scoped_ptr_unittest.cc
index 63125dbf49bb6f349d5e3231d582141e061fe19d..06c6a5058992858a41975d56e29c7083dfce2d1b 100644
--- a/base/memory/scoped_ptr_unittest.cc
+++ b/base/memory/scoped_ptr_unittest.cc
@@ -23,9 +23,9 @@ class ConDecLogger : public ConDecLoggerParent {
explicit ConDecLogger(int* ptr) { set_ptr(ptr); }
virtual ~ConDecLogger() { --*ptr_; }
- virtual void set_ptr(int* ptr) { ptr_ = ptr; ++*ptr_; }
+ virtual void set_ptr(int* ptr) OVERRIDE { ptr_ = ptr; ++*ptr_; }
- virtual int SomeMeth(int x) const { return x; }
+ virtual int SomeMeth(int x) const OVERRIDE { return x; }
private:
int* ptr_;
« no previous file with comments | « base/memory/linked_ptr_unittest.cc ('k') | base/memory/scoped_vector_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698