--- branches/development/src/selection/NameFinder.cpp 2013/05/10 16:09:34 1873 +++ branches/development/src/selection/NameFinder.cpp 2013/05/15 15:09:35 1874 @@ -65,7 +65,6 @@ namespace OpenMD { void NameFinder::loadNames() { - std::map::iterator foundIter; SimInfo::MoleculeIterator mi; Molecule* mol; Molecule::AtomIterator ai; @@ -229,7 +228,6 @@ namespace OpenMD { void NameFinder::matchInternalIndex(const std::string& name, int internalIndex, OpenMDBitSet& bs){ - std::map::iterator foundIter; SimInfo::MoleculeIterator mi; Molecule* mol; @@ -251,7 +249,7 @@ namespace OpenMD { } } - bool NameFinder::isInteger(const std::string str) { + bool NameFinder::isInteger(const std::string &str) { for(unsigned int i = 0; i < str.size(); ++i){ if (!std::isdigit(str[i])) { return false;