Commit 57cadb2d authored by Langella Olivier's avatar Langella Olivier
Browse files

declare explicit structure constructor

parent a4529ce4
...@@ -11,7 +11,7 @@ ...@@ -11,7 +11,7 @@
* This file is part of XTPcpp. * This file is part of XTPcpp.
* *
* XTPcpp is free software: you can redistribute it and/or modify * XTPcpp is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by * it under the terms of the GNU General Public License as published
* the Free Software Foundation, either version 3 of the License, or * the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version. * (at your option) any later version.
* *
...@@ -513,6 +513,13 @@ getProticPeptideHitKey(const PeptideEvidence *p_peptide_evidence) ...@@ -513,6 +513,13 @@ getProticPeptideHitKey(const PeptideEvidence *p_peptide_evidence)
struct ProticPeptideHit struct ProticPeptideHit
{ {
ProticPeptideHit(QString ikey, PeptideMatch ipeptide_match)
: key(ikey), peptide_match(ipeptide_match){};
ProticPeptideHit(const ProticPeptideHit &other)
{
key = other.key;
peptide_match = other.peptide_match;
};
bool bool
operator==(const ProticPeptideHit &other) const operator==(const ProticPeptideHit &other) const
{ {
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment