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)
|
if (this == dec)
|
||||||
return true;
|
return true;
|
||||||
if (this->mType != mType)
|
if (this->mType != dec->mType)
|
||||||
return false;
|
return false;
|
||||||
|
|
||||||
if (mType == DT_CONST_FUNCTION)
|
if (mType == DT_CONST_FUNCTION)
|
||||||
|
|
Loading…
Reference in New Issue