Ran AStyle, fixed VS2015 warning in symboldatabase.h
This commit is contained in:
parent
9bafa3bf25
commit
cd84d78e92
|
@ -254,8 +254,7 @@ void CheckClass::checkExplicitConstructors()
|
||||||
// We must decide, if it is not a copy/move constructor, or it is a copy/move constructor of abstract class.
|
// We must decide, if it is not a copy/move constructor, or it is a copy/move constructor of abstract class.
|
||||||
if (func->type != Function::eCopyConstructor && func->type != Function::eMoveConstructor) {
|
if (func->type != Function::eCopyConstructor && func->type != Function::eMoveConstructor) {
|
||||||
noExplicitConstructorError(func->tokenDef, scope->className, scope->type == Scope::eStruct);
|
noExplicitConstructorError(func->tokenDef, scope->className, scope->type == Scope::eStruct);
|
||||||
}
|
} else if (isAbstractClass) {
|
||||||
else if (isAbstractClass) {
|
|
||||||
noExplicitCopyMoveConstructorError(func->tokenDef, scope->className, scope->type == Scope::eStruct);
|
noExplicitCopyMoveConstructorError(func->tokenDef, scope->className, scope->type == Scope::eStruct);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -770,7 +770,7 @@ public:
|
||||||
static bool argsMatch(const Scope *info, const Token *first, const Token *second, const std::string &path, unsigned int depth);
|
static bool argsMatch(const Scope *info, const Token *first, const Token *second, const std::string &path, unsigned int depth);
|
||||||
|
|
||||||
private:
|
private:
|
||||||
bool isImplicitlyVirtual_rec(const ::Type* type, bool& safe) const;
|
bool isImplicitlyVirtual_rec(const ::Type* baseType, bool& safe) const;
|
||||||
|
|
||||||
unsigned int flags;
|
unsigned int flags;
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in New Issue