base: Add type alias for raw pointer in RefCountingPtr

Change-Id: Ied2204566a8fc5c34fb4702301051b8e5ab84ffe
Signed-off-by: Giacomo Gabrielli <giacomo.gabrielli@arm.com>
Reviewed-on: https://gem5-review.googlesource.com/c/13717
Reviewed-by: Andreas Sandberg <andreas.sandberg@arm.com>
Maintainer: Andreas Sandberg <andreas.sandberg@arm.com>
This commit is contained in:
Giacomo Gabrielli
2018-10-22 17:21:45 +01:00
committed by Giacomo Travaglini
parent ab31213316
commit 22ce855108

View File

@@ -119,6 +119,9 @@ class RefCounted
template <class T>
class RefCountingPtr
{
public:
using PtrType = T*;
protected:
/** Convenience aliases for const/non-const versions of T w/ friendship. */
/** @{ */