Skip to content
Snippets Groups Projects
Commit 5d349337 authored by Olivier Langella's avatar Olivier Langella
Browse files

replace auto by true pointers

parent 75488f14
No related branches found
No related tags found
No related merge requests found
......@@ -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);
}
......
......@@ -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);
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment