diff --git a/Kinetic_data_structures/include/CGAL/Kinetic/internal/Instantaneous_adaptor.h b/Kinetic_data_structures/include/CGAL/Kinetic/internal/Instantaneous_adaptor.h index bae0f89e599..b4b25e9387c 100644 --- a/Kinetic_data_structures/include/CGAL/Kinetic/internal/Instantaneous_adaptor.h +++ b/Kinetic_data_structures/include/CGAL/Kinetic/internal/Instantaneous_adaptor.h @@ -23,6 +23,12 @@ #include #include + +#if defined(BOOST_MSVC) +# pragma warning(push) +# pragma warning(disable:4800) // conversion to bool performance warning +#endif + namespace CGAL { namespace Kinetic { //! An object to help convert between moving objects and their static representations to wrap a predicate. @@ -166,4 +172,11 @@ protected: }; } } //namespace CGAL::Kinetic + + +#if defined(BOOST_MSVC) +# pragma warning(pop) +#endif + + #endif