diff --git a/oscar64/Declaration.cpp b/oscar64/Declaration.cpp index d5ee14d..f20327a 100644 --- a/oscar64/Declaration.cpp +++ b/oscar64/Declaration.cpp @@ -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)