Skip to content
Snippets Groups Projects
Commit 738adb94 authored by Gabriel Studer's avatar Gabriel Studer
Browse files

remove unnecessary lines of code

parent e285fe22
No related branches found
No related tags found
No related merge requests found
......@@ -64,9 +64,7 @@ ResidueHandle EditorBase::AppendResidue(ChainHandle chain, const ResidueKey& k,
ResidueHandle EditorBase::AppendResidue(ChainHandle chain, ResidueHandle residue, bool deep)
{
CheckHandleValidity(chain);
impl::ResidueImplPtr inserted_residue=chain.Impl()->AppendResidue(residue.Impl(),deep);
return inserted_residue;
return ResidueHandle(chain.Impl()->AppendResidue(residue.Impl(), deep));
}
ResidueHandle EditorBase::InsertResidueBefore(ChainHandle chain, int index,
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment