tmp, autoPtr: Provide a typedef 'Type' to the stored type

This commit is contained in:
Henry Weller
2016-05-21 13:55:47 +01:00
parent 1387f95858
commit ffbc4c8c88
2 changed files with 4 additions and 0 deletions

View File

@ -58,6 +58,9 @@ class autoPtr
public:
typedef T Type;
// Constructors
//- Store object pointer

View File

@ -77,6 +77,7 @@ class tmp
public:
typedef T Type;
typedef Foam::refCount refCount;