diff --git a/Stream_support/include/CGAL/IO/io.h b/Stream_support/include/CGAL/IO/io.h index 74e6ffacfd8..9de4c84e962 100644 --- a/Stream_support/include/CGAL/IO/io.h +++ b/Stream_support/include/CGAL/IO/io.h @@ -562,7 +562,7 @@ checks if the %IO stream `s` is in `IO::ASCII` mode. \sa `CGAL::is_binary()` \sa `CGAL::is_pretty()` */ -inline bool is_ascii(std::ios& i) { return i.iword(IO::Static::get_mode()) == IO::BINARY; } +inline bool is_ascii(std::ios& i) { return i.iword(IO::Static::get_mode()) == IO::ASCII; } /*! \ingroup PkgStreamSupportRef