Skip to content

Commit

Permalink
Fix implicit conversion to bool
Browse files Browse the repository at this point in the history
  • Loading branch information
yebblies committed May 20, 2014
1 parent b66034f commit 0b3e1cf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/declaration.c
Expand Up @@ -796,7 +796,7 @@ bool OverDeclaration::equals(RootObject *o)
return true;
if (FuncDeclaration *fd = s->isFuncDeclaration())
{
return fd->isUnique();
return fd->isUnique() != NULL;
}
if (TemplateDeclaration *td = s->isTemplateDeclaration())
{
Expand Down

0 comments on commit 0b3e1cf

Please sign in to comment.