Fixed cppcheck message in checkclass.cpp

This commit is contained in:
PKEuS 2012-09-29 12:19:30 +02:00
parent 7a1e64fdd4
commit 5980eb81d1
1 changed files with 1 additions and 1 deletions

View File

@ -287,7 +287,7 @@ bool CheckClass::canNotCopy(const Scope *scope)
publicAssign = true;
}
return constructor && !(publicAssign | publicCopy);
return constructor && !(publicAssign || publicCopy);
}
void CheckClass::assignVar(const std::string &varname, const Scope *scope, std::vector<Usage> &usage)