Resolve C4800 Visual C++ warning
This commit is contained in:
parent
4a8ced29c4
commit
7d6582c7a5
|
@ -247,7 +247,7 @@ public:
|
|||
bool isSameFamily(const TemplateSimplifier::TokenAndName &decl) const {
|
||||
// Make sure a family flag is set and matches.
|
||||
// This works because at most only one flag will be set.
|
||||
return (mFlags & fFamilyMask) & (decl.mFlags & (fFamilyMask));
|
||||
return ((mFlags & fFamilyMask) & (decl.mFlags & fFamilyMask)) != 0;
|
||||
}
|
||||
};
|
||||
|
||||
|
|
Loading…
Reference in New Issue