diff --git a/Number_types/include/CGAL/Quotient.h b/Number_types/include/CGAL/Quotient.h index b662f9d4167..cd0c92092b1 100644 --- a/Number_types/include/CGAL/Quotient.h +++ b/Number_types/include/CGAL/Quotient.h @@ -378,9 +378,9 @@ operator>>(std::istream& in, Quotient& 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& 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);