Fix base type compare in template check
This commit is contained in:
parent
bd37877c8c
commit
3374544ced
|
@ -1453,7 +1453,7 @@ bool Declaration::IsSameTemplate(const Declaration* dec) const
|
|||
{
|
||||
if (this == dec)
|
||||
return true;
|
||||
if (this->mType != mType)
|
||||
if (this->mType != dec->mType)
|
||||
return false;
|
||||
|
||||
if (mType == DT_CONST_FUNCTION)
|
||||
|
|
Loading…
Reference in New Issue