From a089f0423454da34cf155c3fbbe4834a37994600 Mon Sep 17 00:00:00 2001 From: Olivier Langella <olivier.langella@u-psud.fr> Date: Wed, 7 Mar 2018 22:10:16 +0100 Subject: [PATCH] better name --- src/utils/proteinstore.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/utils/proteinstore.cpp b/src/utils/proteinstore.cpp index e7312b0b..98195342 100644 --- a/src/utils/proteinstore.cpp +++ b/src/utils/proteinstore.cpp @@ -121,9 +121,9 @@ void ProteinStore::setContaminantAccession(QString accession) { it->second.get()->setIsContaminant(true); } } -ProteinXtpSp & ProteinStore::getInstance(ProteinXtpSp & peptide_in) { +ProteinXtpSp & ProteinStore::getInstance(ProteinXtpSp & protein_in) { - std::pair<std::map< QString, ProteinXtpSp>::iterator,bool> ret = _map_accession_protein_list.insert(std::pair<QString, ProteinXtpSp>(peptide_in.get()->getAccession(),peptide_in)); + std::pair<std::map< QString, ProteinXtpSp>::iterator,bool> ret = _map_accession_protein_list.insert(std::pair<QString, ProteinXtpSp>(protein_in.get()->getAccession(),protein_in)); if (ret.second) { //the protein is new in the store, update content -- GitLab