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

Unified Diff: util/stdlib/pointer_container.h

Issue 683753005: C++11: Use template aliases instead of inheritance (Closed) Base URL: https://chromium.googlesource.com/crashpad/crashpad@master
Patch Set: Created 6 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 | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: util/stdlib/pointer_container.h
diff --git a/util/stdlib/pointer_container.h b/util/stdlib/pointer_container.h
index 23c35d7c2630833dfbcb20fc060e0cc31a26738c..cb3e83643fded849897f46e486643d91526b221e 100644
--- a/util/stdlib/pointer_container.h
+++ b/util/stdlib/pointer_container.h
@@ -50,7 +50,7 @@ class PointerContainer : public ContainerType {
//! \note No attempt is made to `delete` elements that are removed from the
//! vector by other means, such as replacement or `clear()`.
template <typename T>
-class PointerVector : public PointerContainer<std::vector<T*>> {};
+using PointerVector = PointerContainer<std::vector<T*>>;
} // namespace crashpad
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698