Ran AStyle, fixed VS2015 warning in symboldatabase.h

This commit is contained in:
PKEuS 2015-03-11 20:26:53 +01:00
parent 9bafa3bf25
commit cd84d78e92
3 changed files with 9 additions and 10 deletions

View File

@ -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.
if (func->type != Function::eCopyConstructor && func->type != Function::eMoveConstructor) {
noExplicitConstructorError(func->tokenDef, scope->className, scope->type == Scope::eStruct);
}
else if (isAbstractClass) {
} else if (isAbstractClass) {
noExplicitCopyMoveConstructorError(func->tokenDef, scope->className, scope->type == Scope::eStruct);
}
}

View File

@ -770,7 +770,7 @@ public:
static bool argsMatch(const Scope *info, const Token *first, const Token *second, const std::string &path, unsigned int depth);
private:
bool isImplicitlyVirtual_rec(const ::Type* type, bool& safe) const;
bool isImplicitlyVirtual_rec(const ::Type* baseType, bool& safe) const;
unsigned int flags;
};