Fix error reporting for special characters in Doxygen parsing code
Don't use "+" with a "const char*" and "char", this doesn't do what the code intended to happen. Thanks clang for the -Wstring-plus-int warning.
This commit is contained in:
parent
148bcab7a0
commit
31fcda945c
1 changed files with 1 additions and 1 deletions
|
|
@ -1400,7 +1400,7 @@ size_t DoxygenParser::processNormalComment(size_t pos, const std::string &line)
|
|||
default:
|
||||
m_tokenListIt = m_tokenList.end();
|
||||
printListError(WARN_DOXYGEN_COMMAND_ERROR,
|
||||
"Unknown special character: " + line[pos]);
|
||||
std::string("Unknown special character: ") + line[pos]);
|
||||
}
|
||||
|
||||
return pos;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue