From f93f1bb1cc0daae9a7e34a8b13c5daae08aa93e4 Mon Sep 17 00:00:00 2001 From: PKEuS Date: Thu, 11 May 2017 10:54:42 +0200 Subject: [PATCH] Refactorization: Removed redundant "struct" keywords in gui/librarydialog.cpp --- gui/librarydialog.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gui/librarydialog.cpp b/gui/librarydialog.cpp index 4764041aa..2faa56466 100644 --- a/gui/librarydialog.cpp +++ b/gui/librarydialog.cpp @@ -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));