First big patch to fix -Wunused-local-typedefs

-Wunused-local-typedefs is a new warning flag of gcc-4.7, and it will enabled
 by -Wall since gcc-4.8 (not yet released).

The fix is a big set of removals of unused typedefs (or comments, or moves,
depending on the context).
This commit is contained in:
Laurent Rineau
2012-08-01 13:29:16 +00:00
parent 98992ea06b
commit db194534c7
91 changed files with 21 additions and 282 deletions
@@ -306,14 +306,13 @@ inline std::ostream& operator << (std::ostream& os, const Residue& p) {
}
inline std::istream& operator >> (std::istream& is, Residue& p) {
typedef Residue RES;
char ch;
int prime;
is >> p.x();
is >> ch; // read the %
is >> prime; // read the prime
CGAL_precondition(prime==RES::get_current_prime());
CGAL_precondition(prime==Residue::get_current_prime());
return is;
}