mirror of https://github.com/CGAL/cgal
Remove new g++ 4.3 warning.
This commit is contained in:
parent
a9419ee49d
commit
6d8066fccd
|
|
@ -378,9 +378,9 @@ operator>>(std::istream& in, Quotient<NT>& r)
|
|||
char c = 0;
|
||||
|
||||
#ifndef CGAL_CFG_NO_LOCALE
|
||||
while (in.get(c) && std::isspace(c, std::locale::classic() ));
|
||||
while (in.get(c) && std::isspace(c, std::locale::classic() )) {}
|
||||
#else
|
||||
while (in.get(c) && CGAL_CLIB_STD::isspace(c));
|
||||
while (in.get(c) && CGAL_CLIB_STD::isspace(c)) {}
|
||||
#endif // CGAL_CFG_NO_LOCALE
|
||||
if ( !in ) return in;
|
||||
in.putback(c);
|
||||
|
|
@ -390,16 +390,16 @@ operator>>(std::istream& in, Quotient<NT>& r)
|
|||
in >> num;
|
||||
|
||||
#ifndef CGAL_CFG_NO_LOCALE
|
||||
while (in.get(c) && std::isspace(c, std::locale::classic() ));
|
||||
while (in.get(c) && std::isspace(c, std::locale::classic() )) {}
|
||||
#else
|
||||
while (in.get(c) && CGAL_CLIB_STD::isspace(c));
|
||||
while (in.get(c) && CGAL_CLIB_STD::isspace(c)) {}
|
||||
#endif // CGAL_CFG_NO_LOCALE
|
||||
if (( in ) && ( c == '/'))
|
||||
{
|
||||
#ifndef CGAL_CFG_NO_LOCALE
|
||||
while (in.get(c) && std::isspace(c, std::locale::classic() ));
|
||||
while (in.get(c) && std::isspace(c, std::locale::classic() )) {}
|
||||
#else
|
||||
while (in.get(c) && CGAL_CLIB_STD::isspace(c));
|
||||
while (in.get(c) && CGAL_CLIB_STD::isspace(c)) {}
|
||||
#endif // CGAL_CFG_NO_LOCALE
|
||||
CGAL_assertion( in );
|
||||
in.putback(c);
|
||||
|
|
|
|||
Loading…
Reference in New Issue