Fixed Cppcheck warning
This commit is contained in:
parent
7a4e6daecd
commit
2713474f56
|
@ -641,7 +641,7 @@ void ProjectFile::readSuppressions(QXmlStreamReader &reader)
|
|||
}
|
||||
|
||||
|
||||
void ProjectFile::readTagWarnings(QXmlStreamReader &reader, QString tag)
|
||||
void ProjectFile::readTagWarnings(QXmlStreamReader &reader, const QString &tag)
|
||||
{
|
||||
QXmlStreamReader::TokenType type;
|
||||
do {
|
||||
|
|
|
@ -447,7 +447,7 @@ protected:
|
|||
* @brief Read tag warnings, what warnings are tagged with a specific tag
|
||||
* @param reader XML stream reader.
|
||||
*/
|
||||
void readTagWarnings(QXmlStreamReader &reader, QString tag);
|
||||
void readTagWarnings(QXmlStreamReader &reader, const QString &tag);
|
||||
|
||||
/**
|
||||
* @brief Read string list
|
||||
|
|
Loading…
Reference in New Issue