Refactorization: Removed redundant "struct" keywords in gui/librarydialog.cpp

This commit is contained in:
PKEuS 2017-05-11 10:54:42 +02:00
parent 336cf5fd08
commit f93f1bb1cc
1 changed files with 2 additions and 2 deletions

View File

@ -96,7 +96,7 @@ void LibraryDialog::openCfg()
ui->buttonSaveAs->setEnabled(true);
ui->filter->clear();
ui->functions->clear();
for (struct CppcheckLibraryData::Function &function : data.functions) {
for (CppcheckLibraryData::Function &function : data.functions) {
ui->functions->addItem(new FunctionListItem(ui->functions,
&function,
false));
@ -246,7 +246,7 @@ void LibraryDialog::sortFunctions(bool sort)
ignoreChanges = true;
CppcheckLibraryData::Function *selfunction = currentFunction();
ui->functions->clear();
for (struct CppcheckLibraryData::Function &function : data.functions) {
for (CppcheckLibraryData::Function &function : data.functions) {
ui->functions->addItem(new FunctionListItem(ui->functions,
&function,
selfunction == &function));