HLLib: correct access to template-inherited variable
If the superclass is a template class, member variables can only be accessed via the this pointer.
This commit is contained in:
parent
5850344f8a
commit
537c4d8303
|
@ -352,7 +352,7 @@ hlVoid CSGAFile::CSGADirectory<TSGAHeader, TSGADirectoryHeader, TSGASection, TSG
|
||||||
template<typename TSGAHeader, typename TSGADirectoryHeader, typename TSGASection, typename TSGAFolder, typename TSGAFile>
|
template<typename TSGAHeader, typename TSGADirectoryHeader, typename TSGASection, typename TSGAFolder, typename TSGAFile>
|
||||||
CDirectoryFolder *CSGAFile::CSGADirectory<TSGAHeader, TSGADirectoryHeader, TSGASection, TSGAFolder, TSGAFile>::CreateRoot()
|
CDirectoryFolder *CSGAFile::CSGADirectory<TSGAHeader, TSGADirectoryHeader, TSGASection, TSGAFolder, TSGAFile>::CreateRoot()
|
||||||
{
|
{
|
||||||
CDirectoryFolder *pRoot = new CDirectoryFolder(&File);
|
CDirectoryFolder *pRoot = new CDirectoryFolder(&this->File);
|
||||||
|
|
||||||
for(hlUInt i = 0; i < this->pDirectoryHeader->uiSectionCount; i++)
|
for(hlUInt i = 0; i < this->pDirectoryHeader->uiSectionCount; i++)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue