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) {} |