tmp, autoPtr: Provide a typedef 'Type' to the stored type
This commit is contained in:
parent
1387f95858
commit
ffbc4c8c88
2 changed files with 4 additions and 0 deletions
|
|
@ -58,6 +58,9 @@ class autoPtr
|
|||
|
||||
public:
|
||||
|
||||
typedef T Type;
|
||||
|
||||
|
||||
// Constructors
|
||||
|
||||
//- Store object pointer
|
||||
|
|
|
|||
|
|
@ -77,6 +77,7 @@ class tmp
|
|||
|
||||
public:
|
||||
|
||||
typedef T Type;
|
||||
typedef Foam::refCount refCount;
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue