HLLib: fake typedef inheritance
To "inherit" the typedefs from a possibly-specialized superclass, they must be explicitly typedef'd to the superclass's typedefs.
This commit is contained in:
parent
f817b5727f
commit
5850344f8a
|
@ -249,6 +249,12 @@ namespace HLLib
|
||||||
class CSGADirectory : public CSGASpecializedDirectory<TSGAHeader, TSGADirectoryHeader, TSGASection, TSGAFolder, TSGAFile>
|
class CSGADirectory : public CSGASpecializedDirectory<TSGAHeader, TSGADirectoryHeader, TSGASection, TSGAFolder, TSGAFile>
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
|
typedef typename CSGASpecializedDirectory<TSGAHeader, TSGADirectoryHeader, TSGASection, TSGAFolder, TSGAFile>::SGAHeader SGAHeader;
|
||||||
|
typedef typename CSGASpecializedDirectory<TSGAHeader, TSGADirectoryHeader, TSGASection, TSGAFolder, TSGAFile>::SGADirectoryHeader SGADirectoryHeader;
|
||||||
|
typedef typename CSGASpecializedDirectory<TSGAHeader, TSGADirectoryHeader, TSGASection, TSGAFolder, TSGAFile>::SGASection SGASection;
|
||||||
|
typedef typename CSGASpecializedDirectory<TSGAHeader, TSGADirectoryHeader, TSGASection, TSGAFolder, TSGAFile>::SGAFolder SGAFolder;
|
||||||
|
typedef typename CSGASpecializedDirectory<TSGAHeader, TSGADirectoryHeader, TSGASection, TSGAFolder, TSGAFile>::SGAFile SGAFile;
|
||||||
|
|
||||||
CSGADirectory(CSGAFile& File);
|
CSGADirectory(CSGAFile& File);
|
||||||
virtual ~CSGADirectory();
|
virtual ~CSGADirectory();
|
||||||
|
|
||||||
|
|
|
@ -2117,6 +2117,12 @@ class HLLIB_API CSGAFile : public CPackage
|
||||||
class CSGADirectory : public CSGASpecializedDirectory<TSGAHeader, TSGADirectoryHeader, TSGASection, TSGAFolder, TSGAFile>
|
class CSGADirectory : public CSGASpecializedDirectory<TSGAHeader, TSGADirectoryHeader, TSGASection, TSGAFolder, TSGAFile>
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
|
typedef typename CSGASpecializedDirectory<TSGAHeader, TSGADirectoryHeader, TSGASection, TSGAFolder, TSGAFile>::SGAHeader SGAHeader;
|
||||||
|
typedef typename CSGASpecializedDirectory<TSGAHeader, TSGADirectoryHeader, TSGASection, TSGAFolder, TSGAFile>::SGADirectoryHeader SGADirectoryHeader;
|
||||||
|
typedef typename CSGASpecializedDirectory<TSGAHeader, TSGADirectoryHeader, TSGASection, TSGAFolder, TSGAFile>::SGASection SGASection;
|
||||||
|
typedef typename CSGASpecializedDirectory<TSGAHeader, TSGADirectoryHeader, TSGASection, TSGAFolder, TSGAFile>::SGAFolder SGAFolder;
|
||||||
|
typedef typename CSGASpecializedDirectory<TSGAHeader, TSGADirectoryHeader, TSGASection, TSGAFolder, TSGAFile>::SGAFile SGAFile;
|
||||||
|
|
||||||
CSGADirectory(CSGAFile& File);
|
CSGADirectory(CSGAFile& File);
|
||||||
virtual ~CSGADirectory();
|
virtual ~CSGADirectory();
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue