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

@@ -326,7 +326,7 @@ Grid::Cell::operator int () const
case CELL_INT: return mInt;
case CELL_FLOAT: return (int) mFloat;
case CELL_DOUBLE: return (int) mDouble;
case CELL_STRING: return ::atoi (mString.c_str ());
case CELL_STRING: return atoi (mString.c_str ());
}
return 0;
@@ -341,7 +341,7 @@ Grid::Cell::operator float () const
case CELL_INT: return (float) mInt;
case CELL_FLOAT: return mFloat;
case CELL_DOUBLE: return (float) mDouble;
case CELL_STRING: return (float) ::atof (mString.c_str ());
case CELL_STRING: return (float) atof (mString.c_str ());
}
return 0.0;
@@ -356,7 +356,7 @@ Grid::Cell::operator double () const
case CELL_INT: return (double) mInt;
case CELL_FLOAT: return (double) mFloat;
case CELL_DOUBLE: return mDouble;
case CELL_STRING: return (double) ::atof (mString.c_str ());
case CELL_STRING: return (double) atof (mString.c_str ());
}
return 0.0;