Commit 1841a3ec authored by Langella Olivier's avatar Langella Olivier
Browse files

fix implicitly declared operator= problem

parent 6d9e87ed
......@@ -39,6 +39,15 @@ DbXref::DbXref(const DbXref &other)
: database(other.database), accession(other.accession)
{
}
DbXref &
DbXref::operator=(const DbXref &other)
{
database = other.database;
accession = other.accession;
return *this;
}
const QUrl
DbXref::getUrl() const
{
......
......@@ -38,6 +38,7 @@ struct DbXref
DbXref();
DbXref(const DbXref &other);
DbXref(ExternalDatabase database_in, const QString &accession_in);
DbXref &operator=(const DbXref &);
const QUrl getUrl() const;
ExternalDatabase database;
QString accession;
......
Markdown is supported
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