mirror of https://github.com/CGAL/cgal
Disable the warning about dll-interface needed for std::ofstream members
of Log::State
This commit is contained in:
parent
1e3a953ece
commit
cb2d3bbd64
|
|
@ -26,6 +26,13 @@
|
||||||
#include <fstream>
|
#include <fstream>
|
||||||
#include <ios>
|
#include <ios>
|
||||||
|
|
||||||
|
#if defined(BOOST_MSVC)
|
||||||
|
// Disable the warning about dll-interface needed for std::ofstream members
|
||||||
|
// of Log::State.
|
||||||
|
# pragma warning(push)
|
||||||
|
# pragma warning(disable:4251)
|
||||||
|
#endif
|
||||||
|
|
||||||
namespace CGAL {
|
namespace CGAL {
|
||||||
|
|
||||||
class Log
|
class Log
|
||||||
|
|
@ -151,4 +158,11 @@ struct Set_log_state{
|
||||||
};
|
};
|
||||||
|
|
||||||
} //namespace CGAL
|
} //namespace CGAL
|
||||||
|
|
||||||
|
#if defined(BOOST_MSVC)
|
||||||
|
# pragma warning(pop)
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#endif
|
||||||
|
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue