Disable the warning about dll-interface needed for std::ofstream members

of Log::State
This commit is contained in:
Laurent Rineau 2011-10-21 10:49:38 +00:00
parent 1e3a953ece
commit cb2d3bbd64
1 changed files with 14 additions and 0 deletions

View File

@ -26,6 +26,13 @@
#include <fstream>
#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 {
class Log
@ -151,4 +158,11 @@ struct Set_log_state{
};
} //namespace CGAL
#if defined(BOOST_MSVC)
# pragma warning(pop)
#endif
#endif