Fix harmless MSVC warning in DoxygenTranslator code.
Explicitly compare pointer with NULL instead of implicitly converting it to bool as this resulted in MSVS "warning C4800: forcing value to bool 'true' or 'false' (performance warning)".
This commit is contained in:
parent
68492869fd
commit
86531935b5
1 changed files with 1 additions and 1 deletions
|
|
@ -25,7 +25,7 @@ DoxygenTranslator::~DoxygenTranslator() {
|
|||
|
||||
|
||||
bool DoxygenTranslator::hasDocumentation(Node *node) {
|
||||
return getDoxygenComment(node);
|
||||
return getDoxygenComment(node) != NULL;
|
||||
}
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue