Code Cleanup

- Removed unnecessary use of the scope resolution operator.
This commit is contained in:
Paul Beckingham 2009-11-17 22:34:28 -05:00
parent 3214dc5d37
commit fbb217538e
18 changed files with 75 additions and 75 deletions

View file

@ -98,7 +98,7 @@ void Sequence::parse (const std::string& input)
if (! validId (range[0]))
throw context.stringtable.get (SEQUENCE_BAD_SEQ, "Invalid ID in sequence");
int id = ::atoi (range[0].c_str ());
int id = atoi (range[0].c_str ());
this->push_back (id);
}
break;
@ -109,8 +109,8 @@ void Sequence::parse (const std::string& input)
! validId (range[1]))
throw context.stringtable.get (SEQUENCE_BAD_SEQ, "Invalid ID in range");
int low = ::atoi (range[0].c_str ());
int high = ::atoi (range[1].c_str ());
int low = atoi (range[0].c_str ());
int high = atoi (range[1].c_str ());
if (low > high)
throw context.stringtable.get (SEQUENCE_INVERTED, "Inverted sequence range high-low");