Giacomo Gabrielli has uploaded this change for review. ( https://gem5-review.googlesource.com/c/public/gem5/+/13717

Change subject: base: Add type alias for raw pointer in RefCountingPtr
......................................................................

base: Add type alias for raw pointer in RefCountingPtr

Change-Id: Ied2204566a8fc5c34fb4702301051b8e5ab84ffe
Signed-off-by: Giacomo Gabrielli <[email protected]>
---
M src/base/refcnt.hh
1 file changed, 3 insertions(+), 0 deletions(-)



diff --git a/src/base/refcnt.hh b/src/base/refcnt.hh
index f282123..197e418 100644
--- a/src/base/refcnt.hh
+++ b/src/base/refcnt.hh
@@ -119,6 +119,9 @@
 template <class T>
 class RefCountingPtr
 {
+  public:
+    using PtrType = T*;
+
   protected:
/** Convenience aliases for const/non-const versions of T w/ friendship. */
     /** @{ */

--
To view, visit https://gem5-review.googlesource.com/c/public/gem5/+/13717
To unsubscribe, or for help writing mail filters, visit https://gem5-review.googlesource.com/settings

Gerrit-Project: public/gem5
Gerrit-Branch: master
Gerrit-Change-Id: Ied2204566a8fc5c34fb4702301051b8e5ab84ffe
Gerrit-Change-Number: 13717
Gerrit-PatchSet: 1
Gerrit-Owner: Giacomo Gabrielli <[email protected]>
Gerrit-MessageType: newchange
_______________________________________________
gem5-dev mailing list
[email protected]
http://m5sim.org/mailman/listinfo/gem5-dev

Reply via email to