From 87e85c2634e65732a431206cc452f243a264755f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mael=20Rouxel-Labb=C3=A9?= Date: Fri, 24 Jan 2020 23:17:46 +0100 Subject: [PATCH] Fix missing CGAL_EXPORT --- Stream_support/include/CGAL/IO/io.h | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/Stream_support/include/CGAL/IO/io.h b/Stream_support/include/CGAL/IO/io.h index 06922eacbb7..aac2e9b5e6e 100644 --- a/Stream_support/include/CGAL/IO/io.h +++ b/Stream_support/include/CGAL/IO/io.h @@ -397,7 +397,7 @@ returns the printing mode of the %IO stream `s`. \sa `CGAL::is_binary()` \sa `CGAL::is_pretty()` */ -IO::Mode get_mode(std::ios& i) { return static_cast(i.iword(IO::Static::get_mode())); } +CGAL_EXPORT IO::Mode get_mode(std::ios& i) { return static_cast(i.iword(IO::Static::get_mode())); } /*! \ingroup PkgStreamSupportRef @@ -414,7 +414,7 @@ Returns the previous mode of `s`. \sa `CGAL::is_binary()` \sa `CGAL::is_pretty()` */ -IO::Mode set_ascii_mode(std::ios& i) +CGAL_EXPORT IO::Mode set_ascii_mode(std::ios& i) { IO::Mode m = get_mode(i); i.iword(IO::Static::get_mode()) = IO::ASCII; @@ -436,7 +436,7 @@ Returns the previous mode of `s`. \sa `CGAL::is_binary()` \sa `CGAL::is_pretty()` */ -IO::Mode set_binary_mode(std::ios& i) +CGAL_EXPORT IO::Mode set_binary_mode(std::ios& i) { IO::Mode m = get_mode(i); i.iword(IO::Static::get_mode()) = IO::BINARY; @@ -458,7 +458,7 @@ Returns the previous mode of `s`. \sa `CGAL::is_binary()` \sa `CGAL::is_pretty()` */ -IO::Mode set_pretty_mode(std::ios& i) +CGAL_EXPORT IO::Mode set_pretty_mode(std::ios& i) //@todo export ? { IO::Mode m = get_mode(i); i.iword(IO::Static::get_mode()) = IO::PRETTY; @@ -479,7 +479,7 @@ sets the printing mode of the %IO stream `s`. \sa `CGAL::is_binary()` \sa `CGAL::is_pretty()` */ -IO::Mode set_mode(std::ios& i, IO::Mode m) +CGAL_EXPORT IO::Mode set_mode(std::ios& i, IO::Mode m) { IO::Mode old = get_mode(i); i.iword(IO::Static::get_mode()) = m;