CheckClass: Use Variable::valueType() instead of Variable::typeStartToken
This commit is contained in:
parent
cb48aae594
commit
9fab15bb53
|
@ -188,7 +188,7 @@ void CheckClass::constructors()
|
||||||
if (!var->isPointer() &&
|
if (!var->isPointer() &&
|
||||||
!(var->type() && var->type()->needInitialization != Type::True) &&
|
!(var->type() && var->type()->needInitialization != Type::True) &&
|
||||||
(func->type == Function::eCopyConstructor || func->type == Function::eOperatorEqual)) {
|
(func->type == Function::eCopyConstructor || func->type == Function::eOperatorEqual)) {
|
||||||
if (!var->typeStartToken()->isStandardType()) {
|
if (var->valueType()->type <= ValueType::Type::RECORD) {
|
||||||
if (printInconclusive)
|
if (printInconclusive)
|
||||||
inconclusive = true;
|
inconclusive = true;
|
||||||
else
|
else
|
||||||
|
|
Loading…
Reference in New Issue