Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
PAPPSO
xtpcpp
Commits
1841a3ec
Commit
1841a3ec
authored
Nov 09, 2020
by
Langella Olivier
Browse files
fix implicitly declared operator= problem
parent
6d9e87ed
Changes
2
Hide whitespace changes
Inline
Side-by-side
src/core/proteinxtp.cpp
View file @
1841a3ec
...
...
@@ -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
{
...
...
src/core/proteinxtp.h
View file @
1841a3ec
...
...
@@ -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
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment