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

remove unnecessary iterators

parent fe2d53e8
Branches
Tags
No related merge requests found
......@@ -344,9 +344,7 @@ bool Processor::HasUnknownAtoms(mol::ResidueHandle res,
CompoundPtr compound,
bool strict_hydrogens) const
{
AtomSpecList::const_iterator j=compound->GetAtomSpecs().begin();
mol::AtomHandleList atoms=res.GetAtomList();
mol::AtomHandleList::iterator i=atoms.begin();
for (mol::AtomHandleList::iterator
i=atoms.begin(), e=atoms.end(); i!=e; ++i) {
if ((*i).Impl()->GetState()==std::numeric_limits<unsigned int>::max()) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment