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:
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user