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

Unified Diff: mojo/edk/util/ref_ptr.h

Issue 1435043002: EDK: Sprinkle some more |final| secret sauce. (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: Created 5 years, 1 month 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 | « mojo/edk/util/mutex.h ('k') | mojo/edk/util/ref_ptr_internal.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: mojo/edk/util/ref_ptr.h
diff --git a/mojo/edk/util/ref_ptr.h b/mojo/edk/util/ref_ptr.h
index 9d8bf851e9d5b9b2879f29b3e0e34d79ae8fb9a9..baa7345821292aba3a587a816b6bb6a03a1dff0e 100644
--- a/mojo/edk/util/ref_ptr.h
+++ b/mojo/edk/util/ref_ptr.h
@@ -63,7 +63,7 @@ namespace util {
// constructor/operator= to be deleted, but for clarity we include explicit
// non-templated versions of everything.)
template <typename T>
-class RefPtr {
+class RefPtr final {
public:
RefPtr() : ptr_(nullptr) {}
RefPtr(std::nullptr_t) : ptr_(nullptr) {}
« no previous file with comments | « mojo/edk/util/mutex.h ('k') | mojo/edk/util/ref_ptr_internal.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698