From 5d34933772698838355e27631dbcf5fabb4e774f Mon Sep 17 00:00:00 2001 From: Olivier Langella <Olivier.Langella@moulon.inra.fr> Date: Fri, 12 May 2017 15:32:49 +0200 Subject: [PATCH] replace auto by true pointers --- src/core/identificationgroup.cpp | 4 ++-- src/core/project.cpp | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/core/identificationgroup.cpp b/src/core/identificationgroup.cpp index feef57812..944f41fa5 100644 --- a/src/core/identificationgroup.cpp +++ b/src/core/identificationgroup.cpp @@ -185,13 +185,13 @@ void IdentificationGroup::startGrouping (const GroupingType & grouping_type) { delete _p_grp_experiment; } _p_grp_experiment = GroupingExperiment::newInstance(grouping_type); - for (auto & p_protein_match : _protein_match_list) { + for (ProteinMatch * p_protein_match : _protein_match_list) { p_protein_match->setGroupingExperiment(_p_grp_experiment); } _p_grp_experiment->startGrouping(); _group_store.clear(); - for (auto & p_protein_match : _protein_match_list) { + for (ProteinMatch * p_protein_match : _protein_match_list) { p_protein_match->setGroupInstance(_group_store); } diff --git a/src/core/project.cpp b/src/core/project.cpp index b1390103d..e24ddd7c2 100644 --- a/src/core/project.cpp +++ b/src/core/project.cpp @@ -139,7 +139,7 @@ void Project::readXpipFile(QFileInfo xpip_fileinfo) { void Project::startGrouping() { - for (auto & p_id_group : _identification_goup_list) { + for (IdentificationGroup * p_id_group : _identification_goup_list) { p_id_group->startGrouping(_grouping_type); } -- GitLab